Sha256: 52c4af9f35a11de5a482d7e37c50a02e409145cd8ac2885bd14aa02fd697e6bd

Contents?: true

Size: 707 Bytes

Versions: 3

Compression:

Stored size: 707 Bytes

Contents

name: "Rubocop"

on:
  push:
    branches: [ "master" ]
  pull_request:
    branches: [ "master" ]

jobs:
  rubocop:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false

    steps:
    - name: Checkout repository
      uses: actions/checkout@v3

    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.6
        bundler-cache: true

    - 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@v2
      with:
        sarif_file: rubocop.sarif

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rspec-openapi-0.9.0 .github/workflows/rubocop.yml
rspec-openapi-0.8.1 .github/workflows/rubocop.yml
rspec-openapi-0.8.0 .github/workflows/rubocop.yml