Opt-in for MFA requirement explicitly #121
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
# based on https://github.com/rails/rails/blob/4a78dcb/.github/workflows/rubocop.yml | |
name: rubocop linting | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
# Create a dummy scanner.rb so we don't need Ragel but require statements work | |
- name: Stub scanner.rb | |
run: 'echo "class Regexp::Scanner; end" > lib/regexp_parser/scanner.rb' | |
- name: Run rubocop | |
run: bundle exec rubocop |