Release 7.8.0 #100
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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ '**' ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [ '2.7', '3.0', '3.1', '3.2' ] | |
env: | |
RUBY_IMAGE: ${{ matrix.ruby }} # The image used in the Dockerfile | |
name: Ruby ${{ matrix.ruby }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Ruby w/ same version as image | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install dependencies | |
run: | | |
rake install | |
dip provision | |
- name: Run linters | |
run: dip rubocop | |
- name: Run tests | |
run: dip rspec |