@@ -21,13 +21,13 @@ jobs:
2121 - name : test
2222 env :
2323 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed for GitHub badge storer integration test
24- run : go test -race -count=1 -failfast -shuffle=on -coverprofile=cover. ${{ matrix.os }}.profile -covermode=atomic -coverpkg=./... ./...
24+ run : go test -race -count=1 -failfast -shuffle=on -coverprofile=${{ matrix.os }}.profile -covermode=atomic -coverpkg=./... ./...
2525
2626 - name : upload cover profile artifact
2727 uses : actions/upload-artifact@v4
2828 with :
29- name : cover. ${{ matrix.os }}
30- path : cover. ${{ matrix.os }}.profile
29+ name : ${{ matrix.os }}.profile
30+ path : ${{ matrix.os }}.profile
3131 if-no-files-found : error
3232
3333 check-coverage :
@@ -38,26 +38,26 @@ jobs:
3838 - name : checkout
3939 uses : actions/checkout@v4
4040
41- - name : download cover. ubuntu-latest
41+ - name : download ubuntu-latest.profile
4242 uses : actions/download-artifact@v4
4343 with :
44- name : cover. ubuntu-latest
45- - name : download cover. macos-latest
44+ name : ubuntu-latest.profile
45+ - name : download macos-latest.profile
4646 uses : actions/download-artifact@v4
4747 with :
48- name : cover. macos-latest
49- - name : download cover. windows-latest
48+ name : macos-latest.profile
49+ - name : download windows-latest.profile
5050 uses : actions/download-artifact@v4
5151 with :
52- name : cover. windows-latest
52+ name : windows-latest.profile
5353
5454 - name : check test coverage
5555 id : coverage
5656 uses : vladopajic/go-test-coverage@v2
5757 continue-on-error : true # Should fail after coverage comment is posted
5858 with :
5959 config : ./.github/.testcoverage.yml
60- profile : cover. ubuntu-latest.profile,cover. macos-latest.profile,cover. windows-latest.profile
60+ profile : ubuntu-latest.profile,macos-latest.profile,windows-latest.profile
6161 git-branch : badges
6262 git-token : ${{ github.ref_name == 'main' && secrets.GITHUB_TOKEN || '' }}
6363
0 commit comments