Skip to content

Commit

Permalink
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/integration-testing.yml
@@ -65,7 +65,20 @@ jobs:
shopt -s dotglob
mv * ../action/
mv ../action/tests/multi-language-repo/* .
- uses: arthurnn/code-scanning-rubocop/rubocop-action@master
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- name: Install Code Scanning integration
run: bundle add code-scanning-rubocop --version 0.2.0 --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 ]]
"
- uses: ./../action/upload-sarif
with:
sarif_file: rubocop.sarif

0 comments on commit dc27ff9

Please sign in to comment.