Update rake tasks and CI configs for committing generated files #676
Workflow file for this run
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: Lint | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| - '!dependabot/**' | |
| pull_request: | |
| permissions: # added using https://github.com/step-security/secure-workflows | |
| contents: read | |
| jobs: | |
| lint: | |
| strategy: | |
| fail-fast: false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 # v3.3.0 | |
| # libyaml-dev is needed for psych, see https://github.com/ruby/setup-ruby/issues/409 | |
| - if: ${{ matrix.os == 'ubuntu-latest' }} | |
| run: sudo apt install libyaml-dev | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@master | |
| with: | |
| ruby-version: 3.3 | |
| bundler-cache: true | |
| - name: Run rubocop | |
| run: bundle exec rubocop | |
| - name: Verify generated parser files are up to date | |
| run: bundle exec rake verify_generated | |