Skip to content

Commit

Permalink
adds Ruby 3.3 to CI and reformats ci.yaml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tisba committed Dec 26, 2023
1 parent 04bec93 commit 66af9d5
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop

rspec:
runs-on: ubuntu-latest
Expand All @@ -27,20 +27,21 @@ jobs:
## Due to https://github.com/actions/runner/issues/849,
## we have to use quotes for '3.0'
ruby:
- '2.6'
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
gemfile:
- gemfiles/faraday_1.gemfile
- gemfiles/faraday_2.gemfile
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run RSpec
run: bundle exec rspec
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run RSpec
run: bundle exec rspec

0 comments on commit 66af9d5

Please sign in to comment.