Skip to content

build(deps): bump rtoolsHCK from v0.3.4 to v0.4.0 #596

build(deps): bump rtoolsHCK from v0.3.4 to v0.4.0

build(deps): bump rtoolsHCK from v0.3.4 to v0.4.0 #596

Workflow file for this run

name: RuboCop
on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
jobs:
rubocop:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Update Ubuntu package repository
run: sudo apt-get update
- name: Setup sqlite-devel
run: sudo apt-get -y install libsqlite3-dev
- name: Setup libcurl-devel
run: sudo apt-get -y install libcurl4 libcurl3-gnutls libcurl4-openssl-dev
- name: Set up Ruby 2.7.8
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.8
bundler-cache: false
- 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 ]]
"
- name: Upload Sarif output
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: rubocop.sarif