Skip to content

Bump ruby/setup-ruby from 1.188.0 to 1.190.0 #132

Bump ruby/setup-ruby from 1.188.0 to 1.190.0

Bump ruby/setup-ruby from 1.188.0 to 1.190.0 #132

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