File: rubocop.yml

package info (click to toggle)
ruby-cvss-suite 4.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,612 kB
  • sloc: ruby: 2,829; makefile: 4; sh: 3
file content (21 lines) | stat: -rw-r--r-- 409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Rubocop

on: [push,pull_request]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4
    - name: Set up Ruby 2.6
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.6
    - name: Install gems
      run: |
        gem install bundler -v "2.4.22"
        bundle install --jobs 4 --retry 3
    - name: Run checks
      run: rubocop -F --fail-level C -f s