Update .forgejo/workflows/build.yaml
Some checks failed
/ build (push) Failing after 45s
/ test (push) Successful in 2s

This commit is contained in:
Aaron Fischer 2023-10-05 22:27:25 +02:00
parent d78f218f28
commit 11b4eefc47

View file

@ -1,9 +1,15 @@
on: [push]
on:
push:
branches:
- main
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: ${{ GITHUB_WORKSPACE }}/go.mod
- run: |
go generate
go build cmd/server.go -o spaceapi