Skip to content

Commit

Permalink
Update cache and checkout action versions to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
petergoldstein committed Dec 12, 2022
1 parent 31b105d commit 7cebe4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
code-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.0
- name: Gems cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/gems
key: gems-3.0.0-${{ hashFiles('*.gemspec', 'Gemfile') }}-${{ github.sha }}
Expand Down Expand Up @@ -47,13 +47,13 @@ jobs:
- ruby-head
- jruby-9.3
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Gems cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/gems
key: gems-${{ matrix.ruby }}-${{ hashFiles('*.gemspec', 'Gemfile') }}-${{ github.sha }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
ruby:
- truffleruby-head
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Gems cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/gems
key: gems-${{ matrix.ruby }}-${{ hashFiles('*.gemspec', 'Gemfile') }}-${{ github.sha }}
Expand All @@ -33,4 +33,4 @@ jobs:
bundle config path ~/gems
bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake spec
run: bundle exec rake spec

0 comments on commit 7cebe4e

Please sign in to comment.