Skip to content

Initial commit

Initial commit #2

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [ main ]
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ruby ## latest MRI
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop
rspec:
runs-on: ubuntu-latest
env:
FARADAY_VERSION: ${{ matrix.faraday }}
strategy:
fail-fast: false
matrix:
ruby: [ '3.0', '3.1', '3.2', '3.3' ]
faraday: [ '~> 1.0', '~> 2.0' ]
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