123456789101112131415161718192021222324252627282930313233 |
- name: build
- on: push
- jobs:
- build:
- if: "!contains(github.event.head_commit.message, '[skip ci]')"
- runs-on: ubuntu-latest
- strategy:
- fail-fast: false
- matrix:
- include:
- - ruby: 3.0
- gemfile: Gemfile
- - ruby: 3.0
- gemfile: gemfiles/Gemfile-6-1
- - ruby: 2.7
- gemfile: gemfiles/Gemfile-6-0
- - ruby: 2.6
- gemfile: gemfiles/Gemfile-5-2
- - ruby: 2.5
- gemfile: gemfiles/Gemfile-5-0
- env:
- CI: 1
- BUNDLE_GEMFILE: ${{ matrix.gemfile }}
- USE_OFFICIAL_GEM_SOURCE: 1
- CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- steps:
- - uses: actions/checkout@v2
- - uses: ruby/setup-ruby@v1
- with:
- ruby-version: ${{ matrix.ruby }}
- bundler-cache: true
- - run: bundle exec rails test
|