Bump rails from 7.2.2.1 to 8.0.1 #646
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: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: run tests | |
env: | |
RAILS_ENV: test | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Lint | |
run: bundle exec rubocop | |
- name: Prepare test suite | |
run: | | |
bin/rails db:prepare | |
bin/rails assets:precompile | |
- name: Run Rails tests | |
run: bundle exec rails test | |
- name: Run specs | |
run: bundle exec rspec | |
- name: Run features | |
run: bundle exec cucumber |