Update .forgejo/workflows/build.yaml
This commit is contained in:
parent
d78f218f28
commit
11b4eefc47
1 changed files with 7 additions and 1 deletions
|
@ -1,9 +1,15 @@
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version-file: ${{ GITHUB_WORKSPACE }}/go.mod
|
||||||
- run: |
|
- run: |
|
||||||
go generate
|
go generate
|
||||||
go build cmd/server.go -o spaceapi
|
go build cmd/server.go -o spaceapi
|
||||||
|
|
Loading…
Reference in a new issue