From 5174798e125eda9dced127cf07e577d9a08f7448 Mon Sep 17 00:00:00 2001 From: Kirk Wang Date: Mon, 16 Sep 2024 16:56:39 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Update=20upload-artifact=20and?= =?UTF-8?q?=20download-artifact?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI was getting errors because the versions we were previously using were deprecated. This commit updates the actions to the latest versions. --- .github/workflows/test.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1eacd7b5..4f71fc2f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,8 +42,11 @@ jobs: - name: Run rspec run: bundle exec rake spec + - name: List coverage files before upload + run: ls -la coverage + - name: Upload coverage results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4.4.0 with: name: coverage-report-${{ matrix.ruby }} path: coverage @@ -55,12 +58,20 @@ jobs: needs: rspec steps: + - uses: actions/checkout@v2 + - name: Download coverage report - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4.1.8 with: name: coverage-report-2.7 path: coverage + - name: List files in workspace + run: ls -la + + - name: List coverage files + run: ls -la coverage + - name: SimpleCov Check uses: vigetlabs/simplecov-check@1.0 with: