Bump rubocop from 1.67.0 to 1.68.0 #683
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
branches: | |
- main | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
# XXX: Workaround for older rubygems bug | |
# https://github.com/ruby/setup-ruby/issues/518 | |
rubygems: latest | |
- name: Rubocop | |
run: bundle exec rubocop | |
- name: Haml-lint | |
run: | | |
bundle exec haml-lint | |
- name: Prepare database | |
run: | | |
RAILS_ENV=test bundle exec rails db:setup | |
- name: RSpec | |
run: | | |
RAILS_ENV=test bundle exec rails spec | |
- name: Cucumber | |
run: | | |
RAILS_ENV=test bundle exec cucumber |