Fix ruby version on Github Actions #28
Workflow file for this run
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: CI | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
- run: bundle install | |
- run: bundle exec rspec | |
rubocop: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
- run: bundle install | |
- run: bundle exec rubocop |