okospaceapi/.forgejo/workflows/build.yaml
Aaron Fischer 1e0428b39b
Some checks failed
/ test (push) Failing after 2s
/ build (push) Failing after 12s
Add a forgejo workflow
2023-10-01 14:58:48 +02:00

16 lines
321 B
YAML

on: [push]
jobs:
build:
runs-on: docker
container:
image: golang:alpine
steps:
- uses: actions/checkout@v3
- run: |
go generate
go build cmd/server.go -o spaceapi
- uses: actions/upload-artifact@v2
with:
name: spaceapi
path: spaceapi