marks Ruby 3.0 as EOL and best effort support only #103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@a6e6f86333f0a2523ece813039b8b4be04560854 # 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: | |
ruby: | |
# EOL Rubies, best effort support only | |
- "2.6" | |
- "2.7" | |
- "3.0" | |
# active support | |
- "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@a6e6f86333f0a2523ece813039b8b4be04560854 # v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run RSpec | |
run: bundle exec rspec |