Skip to content

Bump ruby/setup-ruby from 1.190.0 to 1.191.0 #133

Bump ruby/setup-ruby from 1.190.0 to 1.191.0

Bump ruby/setup-ruby from 1.190.0 to 1.191.0 #133

Workflow file for this run

---
name: rubocop
'on':
pull_request:
branches: [master]
jobs:
rubocop:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@52753b7da854d5c07df37391a986c76ab4615999
with:
ruby-version: 2.6
- name: Install Code Scanning integration
run: bundle add code-scanning-rubocop --version 0.6.1 --skip-install
- name: Install dependencies
run: bundle install
- name: Rubocop run
run: |
bash -c "
bundle exec rubocop \
--require code_scanning \
--format CodeScanning::SarifFormatter \
-o rubocop.sarif
[[ $? -ne 2 ]]
"
- name: Upload Sarif output
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: rubocop.sarif