diff --git a/.github/workflows/go-test.yaml b/.github/workflows/go-test.yaml index 6f9efea..9c6b405 100644 --- a/.github/workflows/go-test.yaml +++ b/.github/workflows/go-test.yaml @@ -12,12 +12,6 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/upload-artifact@v4 - with: - name: tests-results - path: | - coverprofile.out - gotest.json - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v5 @@ -31,6 +25,12 @@ jobs: - name: Launch Test run: | go vet ./... && go test -coverprofile=coverprofile.out -json -v ./... > gotest.json + - uses: actions/upload-artifact@v4 + with: + name: tests-results + path: | + coverprofile.out + gotest.json sonar: runs-on: ubuntu-latest needs: tests