Added action on push
build Details

This commit is contained in:
Profitroll 2023-04-14 14:29:42 +02:00
parent f8ed172666
commit 95e9e23f0d
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
name: Build the API
on: [push]
env:
GIN_MODE: release
jobs:
build:
needs: [test]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.20"
check-latest: true
- run: go build -ldflags "-s -w"