.github/workflows/ruby.yml in geoblacklight_sidecar_images-0.9.0 vs .github/workflows/ruby.yml in geoblacklight_sidecar_images-0.9.1
- old
+ new
@@ -8,28 +8,36 @@
pull_request:
jobs:
linter:
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ bundler_version: [2.1.1]
+ faraday_version: ['~> 1.0']
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
+ - name: Install bundler
+ run: gem install bundler -v ${{ matrix.bundler_version }}
- name: Install dependencies
- run: bundle install
+ run: bundle _${{ matrix.bundler_version }}_ install
+ env:
+ FARADAY_VERSION: ${{ matrix.faraday_version }}
- name: Run linter
run: bundle exec standardrb
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby_version: ["3.0","2.7"]
rails_version: [7.0.4.2, 6.1.7.2]
bundler_version: [2.1.1]
- faraday_version: ['>= 2', '~> 1.0']
+ faraday_version: ['~> 1.0']
name: test ruby ${{ matrix.ruby_version }} / rails ${{ matrix.rails_version }} / faraday ${{ matrix.faraday_version }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
\ No newline at end of file