14
.gitea/workflows/default.yaml
Normal file
14
.gitea/workflows/default.yaml
Normal 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"
|
Reference in New Issue
Block a user