feat: downgrade active gems to 7.2.2 #21
This file contains hidden or 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 Rails CI' | |
on: | |
push: | |
branches: [ 'master' ] | |
pull_request: | |
branches: [ 'master' ] | |
jobs: | |
test: | |
name: rspec | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Sqlite3 | |
run: sudo apt-get update && sudo apt-get install -y sqlite3 libsqlite3-dev | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Ruby and gems | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2.4 | |
bundler-cache: true | |
- name: Setup Database | |
run: bundle exec rake db:migrate | |
- name: Build and test with rspec | |
run: bundle exec rspec | |
lint: | |
name: linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Ruby and gems | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Rubocop | |
run: bundle exec rubocop --parallel |