Skip to content

Commit

Permalink
Update ruby action
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Jul 26, 2022
1 parent 3a14f50 commit 942b4e6
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,16 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2']
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Do some action caching
uses: actions/cache@v2.1.6
with:
path: vendor
key: ${{ runner.os }}-gem-${{ hashFiles('Gemfile', '*.gemspec') }}
restore-keys: |
${{ runner.os }}-gem-
uses: actions/checkout@v3
- name: Set up Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Install bundler
run: gem install bundler
- name: Run bundler
run: bundle install --jobs 4 --retry 3
- name: Run Rake
run: bundle exec rake

0 comments on commit 942b4e6

Please sign in to comment.