Skip to content

Bump ruby/setup-ruby from 1.191.0 to 1.192.0 #134

Bump ruby/setup-ruby from 1.191.0 to 1.192.0

Bump ruby/setup-ruby from 1.191.0 to 1.192.0 #134

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@a6b46b8a08edb18935835849f2a17072d5cc8c73
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