diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 22d5898..80c1004 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -26,7 +26,10 @@ jobs: with: # Disabling shallow clone is recommended for improving relevancy of reporting fetch-depth: 0 - + - name: Setup go + uses: actions/setup-go@v5 + with: + go-version-file: Backend/go.mod - uses: https://gitea.com/actions/go-hashfiles@v0.0.1 id: hash-go with: @@ -43,10 +46,6 @@ jobs: key: arbeitszeitmessung-${{ steps.hash-go.outputs.hash }} restore-keys: |- arbeitszeitmessung- - - name: Setup go - uses: actions/setup-go@v5 - with: - go-version-file: Backend/go.mod - name: Run Go Tests run: cd Backend && mkdir .test && go test ./... -coverprofile=.test/coverage.out -json > .test/report.json - name: Verify coverage report exists