We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf266cb commit dc27ff9Copy full SHA for dc27ff9
1 file changed
.github/workflows/integration-testing.yml
@@ -65,7 +65,20 @@ jobs:
65
shopt -s dotglob
66
mv * ../action/
67
mv ../action/tests/multi-language-repo/* .
68
- - uses: arthurnn/code-scanning-rubocop/rubocop-action@master
+ - name: Set up Ruby
69
+ uses: ruby/setup-ruby@v1
70
+ with:
71
+ ruby-version: 2.6
72
+ - name: Install Code Scanning integration
73
+ run: bundle add code-scanning-rubocop --version 0.2.0 --skip-install
74
+ - name: Install dependencies
75
+ run: bundle install
76
+ - name: Rubocop run
77
+ run: |
78
+ bash -c "
79
+ bundle exec rubocop --require code_scanning --format CodeScanning::SarifFormatter -o rubocop.sarif
80
+ [[ $? -ne 2 ]]
81
+ "
82
- uses: ./../action/upload-sarif
83
with:
84
sarif_file: rubocop.sarif
0 commit comments