Add catalog.yaml. Please review the values and merge. #3
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: 'Test against supported Faraday minor versions' | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
faraday_version: ['1.0.1', '1.1.0', '1.2.0', '1.3.1', '1.4.1', '1.5.1', '1.6.0', '1.7.2', '1.8.0', '1.9.3', '1.10.0'] | |
env: | |
FARADAY_VERSION: ~> ${{ matrix.faraday_version }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Ruby ${{ matrix.ruby_version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: 3.1 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run RSpec tests | |
run: bundle exec rspec |