Skip to content

Commit

Permalink
Merge pull request #338 from k1LoW/update-artifact-action
Browse files Browse the repository at this point in the history
Update artifact-action
  • Loading branch information
k1LoW authored Feb 15, 2024
2 parents c768c2f + e494aa2 commit b783414
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
- name: Run tests badge
run: go test ./badge/... -coverprofile=coverage_badge.out -covermode=count

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: coverage-report-files
name: coverage-report-files-pkgs
path: |
coverage_coverage.out
coverage_ratio.out
Expand All @@ -56,9 +56,9 @@ jobs:
- name: Run tests other
run: go test $(go list ./... | grep -v coverage | grep -v ratio | grep -v badge) -coverprofile=coverage_other.out -covermode=count

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: coverage-report-files
name: coverage-report-files-other
path: |
coverage_other.out
Expand All @@ -80,9 +80,10 @@ jobs:
with:
go-version-file: go.mod

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: coverage-report-files
pattern: coverage-report-files*
merge-multiple: true

- name: Build octocov and run as a action
uses: ./testdata/actions/collect

0 comments on commit b783414

Please sign in to comment.