Skip to content

less workers, getting 429 #53

less workers, getting 429

less workers, getting 429 #53

Workflow file for this run

name: Rubocop Linting
on:
push:
paths:
- '**.rb'
- .github/workflows/rubocop.yml
- Gemfile
- Gemfile.lock
pull_request:
paths:
- '**.rb'
- .github/workflows/rubocop.yml
- Gemfile
- Gemfile.lock
workflow_dispatch:
jobs:
rubocop:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Ruby
uses: ruby/[email protected]
with:
ruby-version: 3.2
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Rubocop generate sarif file
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
- name: Rubocop pass/fail
run: |
bash -c "
bundle exec rubocop
[[ $? -ne 2 ]]
"