Skip to content

Bump actions/checkout from 3 to 4 #51

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #51

Workflow file for this run

name: CI
on:
- push
- pull_request
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
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:
- '2.6'
- '2.7'
- '3.0'
- '3.1'
- '3.2'
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