diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 084ea03..31eb429 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -5,8 +5,13 @@ jobs: container: image: golang:latest steps: - - run: ls && go build -x -v -o=stbackend -buildvcs=true ./cmd/stbackend/main. - + - uses: actions/checkout@v4 + - name: Setup go + uses: actions/setup-go@v5 + with: + go-version-file: '/workspace/ScheduleTogether/Backend/go.mod' + - run: go build -x -v -o=stbackend -buildvcs=true ./cmd/stbackend/main.go + - uses: actions/upload-artifact@v3 with: name: build-artifact