From 98dc96b2db2d17920d84446de02136fd5d6e24e0 Mon Sep 17 00:00:00 2001
From: zervo <marco@zervo.org>
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