Skip to content

adds sandbox/* to ignore for Rubocop #58

adds sandbox/* to ignore for Rubocop

adds sandbox/* to ignore for Rubocop #58

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Set up Ruby
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # 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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Set up Ruby
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run RSpec
run: bundle exec rspec