test(gh): Ordering steps...
I'm stupid... I need to upload artifacts after the creation.
This commit is contained in:
12
.github/workflows/go-test.yaml
vendored
12
.github/workflows/go-test.yaml
vendored
@@ -12,12 +12,6 @@ jobs:
|
|||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: tests-results
|
|
||||||
path: |
|
|
||||||
coverprofile.out
|
|
||||||
gotest.json
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
@@ -31,6 +25,12 @@ jobs:
|
|||||||
- name: Launch Test
|
- name: Launch Test
|
||||||
run: |
|
run: |
|
||||||
go vet ./... && go test -coverprofile=coverprofile.out -json -v ./... > gotest.json
|
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:
|
sonar:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: tests
|
needs: tests
|
||||||
|
Reference in New Issue
Block a user