Skip to content

Commit cd6054f

Browse files
committed
fix profile names
1 parent 075dc1c commit cd6054f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -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=${{ 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: ${{ matrix.os }}.profile
30-
path: ${{ 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 ubuntu-latest.profile
41+
- name: download ubuntu-latest-profile
4242
uses: actions/download-artifact@v4
4343
with:
44-
name: ubuntu-latest.profile
45-
- name: download macos-latest.profile
44+
name: ubuntu-latest-profile
45+
- name: download macos-latest-profile
4646
uses: actions/download-artifact@v4
4747
with:
48-
name: macos-latest.profile
49-
- name: download windows-latest.profile
48+
name: macos-latest-profile
49+
- name: download windows-latest-profile
5050
uses: actions/download-artifact@v4
5151
with:
52-
name: windows-latest.profile
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: ubuntu-latest.profile,macos-latest.profile,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

Comments
 (0)