Skip to content

Commit

Permalink
Merge pull request #6 from hatena/github-actions/update-uses
Browse files Browse the repository at this point in the history
[GitHub Actions] Update use actions
  • Loading branch information
yutailang0119 authored Nov 6, 2024
2 parents b2f3f4b + c36dede commit f210e77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile') }}
Expand All @@ -20,13 +20,13 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4
ruby-version: 2.7
- name: Install dependencies
run: bundle check || bundle install --jobs=4 --retry=3 --path vendor/bundle
- name: Run tests
run: bundle exec rake
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: test-results
path: test-results

0 comments on commit f210e77

Please sign in to comment.