From 0c85c993079213af1e1981cac80aba9a8f148a12 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Thu, 15 Feb 2024 07:57:50 +0900 Subject: [PATCH 1/2] Update artifact-action --- .github/workflows/parallel.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/parallel.yml b/.github/workflows/parallel.yml index df6cfd90..89d09876 100644 --- a/.github/workflows/parallel.yml +++ b/.github/workflows/parallel.yml @@ -31,7 +31,7 @@ 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 path: | @@ -56,7 +56,7 @@ 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 path: | @@ -80,7 +80,7 @@ jobs: with: go-version-file: go.mod - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: coverage-report-files From e494aa2271306ee06cd282b1be8f421c52cc4bda Mon Sep 17 00:00:00 2001 From: k1LoW Date: Thu, 15 Feb 2024 09:12:24 +0900 Subject: [PATCH 2/2] Fix --- .github/workflows/parallel.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/parallel.yml b/.github/workflows/parallel.yml index 89d09876..5e4bc625 100644 --- a/.github/workflows/parallel.yml +++ b/.github/workflows/parallel.yml @@ -33,7 +33,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: coverage-report-files + name: coverage-report-files-pkgs path: | coverage_coverage.out coverage_ratio.out @@ -58,7 +58,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: coverage-report-files + name: coverage-report-files-other path: | coverage_other.out @@ -82,7 +82,8 @@ jobs: - 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