Bring latest website fixes from 1-3-stable
over to main
#1969
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: build | |
on: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby_version: [2.7.2, 3.0.0, 3.1.2, 3.2.0] | |
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }} | |
# Has to be top level to cache properly | |
env: | |
BUNDLE_JOBS: 4 | |
BUNDLE_PATH: "vendor/bundle" | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby_version }} | |
bundler-cache: true | |
- name: Test with Rake | |
run: bundle exec rake |