From 89bc06534ececd75b68bd234f66daf9ba0d0c897 Mon Sep 17 00:00:00 2001 From: zervo Date: Thu, 5 Dec 2024 21:23:15 +0100 Subject: [PATCH] Debug CI x3 --- .forgejo/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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