1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
name: CI
on:
push:
branches: [ master ]
pull_request:
env:
GIT_COMMIT_SHA: ${{ github.sha }}
GIT_BRANCH: ${{ github.ref }}
jobs:
build:
runs-on: ubuntu-latest
env:
FARADAY_VERSION: ${{ matrix.faraday }}
strategy:
fail-fast: false
matrix:
ruby: [ '2.6', '2.7', '3.0', '3.1', 'truffleruby', 'jruby' ]
faraday: [ '~> 0.17.3', '~> 1.0', '~> 2.0' ]
steps:
- uses: actions/checkout@v5
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Test
continue-on-error: ${{ contains(fromJson('["truffleruby", "jruby"]'), matrix.ruby) }}
run: bundle exec rake
|