Fix some safe offenses in production code #87
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: Ruby specs | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: Ruby specs | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: ['3.0', '3.1', '3.2', '3.3'] | |
gemfile: [am_7.0, am_7.1] | |
channel: [stable] | |
include: | |
- ruby-version: '3.1' | |
gemfile: am_edge | |
channel: experimental | |
- ruby-version: '3.2' | |
gemfile: am_edge | |
channel: experimental | |
- ruby-version: '3.3' | |
gemfile: am_edge | |
channel: experimental | |
- ruby-version: 'head' | |
gemfile: am_7.0 | |
channel: experimental | |
- ruby-version: 'head' | |
gemfile: am_7.1 | |
channel: experimental | |
- ruby-version: 'head' | |
gemfile: am_edge | |
channel: experimental | |
env: | |
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile | |
continue-on-error: ${{ matrix.channel != 'stable' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Run specs | |
run: bundle exec rake spec |