Update .forgejo/workflows/build.yaml
This commit is contained in:
parent
aa59c1e79a
commit
599fff0f93
1 changed files with 3 additions and 3 deletions
|
@ -5,13 +5,13 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
|
||||||
image: node:16-bullseye
|
|
||||||
steps:
|
steps:
|
||||||
|
- run: |
|
||||||
|
apt-get install git
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v4
|
- uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version-file: ${{ GITHUB_WORKSPACE }}/go.mod
|
go-version-file: ${{ GITHUB_WORKSPACE }}/okoyono-intern/spaceapi/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