Skip to content

Commit

Permalink
Bump upload-artifact/download-artifact actions to v4
Browse files Browse the repository at this point in the history
Signed-off-by: Gábor Lipták <[email protected]>
  • Loading branch information
gliptak committed Dec 19, 2023
1 parent 6ce6462 commit b70d799
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
go test -v ./... -coverprofile=${{ matrix.os }}_coverage.txt -covermode=atomic
- name: Upload coverage report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: reports
name: ${{ matrix.os }}_reports
path: ${{ matrix.os }}_coverage.txt
if-no-files-found: error
retention-days: 1
Expand Down Expand Up @@ -63,10 +63,17 @@ jobs:
needs: [build]
steps:
- uses: actions/checkout@v4
- name: Download coverage reports
uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: reports
name: ubuntu-latest_reports
path: reports
- uses: actions/download-artifact@v4
with:
name: macOS-latest_reports
path: reports
- uses: actions/download-artifact@v4
with:
name: macos-11_reports
path: reports

- name: Codecov
Expand Down Expand Up @@ -104,7 +111,7 @@ jobs:
args: build --snapshot --clean --config .goreleaser.${{ matrix.os }}.yml

- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: saml2aws
path: dist/

0 comments on commit b70d799

Please sign in to comment.