Sha256: 351a15281690502c7647343251caef914135808e4c50b2bcf79d2fb49aff82f1

Contents?: true

Size: 789 Bytes

Versions: 2

Compression:

Stored size: 789 Bytes

Contents

name: Rubocop
on: [push, pull_request]
jobs:
  rubocop:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest]
        ruby: [2.7]
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - name: Install Rubocop
        run: gem install rubocop code-scanning-rubocop
      - name: Rubocop run --no-doc
        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@v1
        with:
          sarif_file: rubocop.sarif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telemetry-amqp-0.2.0 .github/workflows/rubocop.yml
telemetry-amqp-0.1.0 .github/workflows/rubocop.yml