Skip to content

Commit

Permalink
🤖 Update upload-artifact and download-artifact
Browse files Browse the repository at this point in the history
CI was getting errors because the versions we were previously using were
deprecated.  This commit updates the actions to the latest versions.
  • Loading branch information
kirkkwang committed Sep 17, 2024
1 parent b511db6 commit 150dd0b
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,15 @@ 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
path: coverage/**
include-hidden-files: true # Add this line

coverage:
runs-on: ubuntu-latest
Expand All @@ -55,12 +59,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:
Expand Down

0 comments on commit 150dd0b

Please sign in to comment.