Add a forgejo workflow

This commit is contained in:
Aaron Fischer 2023-10-01 14:18:10 +02:00
parent fd43ebf6e9
commit 12ffff46bb

View file

@ -0,0 +1,17 @@
on: [push]
jobs:
build:
runs-on: docker
container:
image: golang:alpine
steps:
- uses: actions/checkout@v4
run: |
apk add --no-cache git
go generate
go build cmd/server.go -o spaceapi
- uses: actions/upload-artifact@v2
with:
name: spaceapi
path: spaceapi