Skip to content

Commit

Permalink
test(gh): Ordering steps...
Browse files Browse the repository at this point in the history
I'm stupid... I need to upload artifacts after the creation.
  • Loading branch information
metal3d committed Dec 5, 2024
1 parent b93a3df commit dcd2827
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit dcd2827

Please sign in to comment.