Fix block_keyword
method returning keywords used as arguments of method call
#285
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: Lint | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
overcommit: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3 | |
bundler-cache: true | |
- name: Prepare environment | |
run: | | |
git config --local user.email "gh-actions@example.com" | |
git config --local user.name "GitHub Actions" | |
bundle exec overcommit --sign | |
- name: Run pre-commit checks | |
run: bundle exec overcommit --run |