Skip to content

Bump ruby/setup-ruby from 1.180.1 to 1.183.0 (#21) #98

Bump ruby/setup-ruby from 1.180.1 to 1.183.0 (#21)

Bump ruby/setup-ruby from 1.180.1 to 1.183.0 (#21) #98

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up Ruby
uses: ruby/setup-ruby@1d0e911f615a112e322369596f10ee0b95b010ae # v1
with:
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop
rspec:
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
strategy:
fail-fast: false
matrix:
## Due to https://github.com/actions/runner/issues/849,
## we have to use quotes for '3.0'
ruby:
# best effort support only
- "2.6"
- "2.7"
# active support
- "3.0"
- "3.1"
- "3.2"
- "3.3"
gemfile:
- gemfiles/faraday_1.gemfile
- gemfiles/faraday_2.gemfile
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up Ruby
uses: ruby/setup-ruby@1d0e911f615a112e322369596f10ee0b95b010ae # v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run RSpec
run: bundle exec rspec