File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ concurrency:
1919 cancel-in-progress : true
2020
2121env :
22+ RUBY_VERSION_DEFAULT : ' 4.0' # see https://www.ruby-lang.org/en/downloads/releases/
2223 COVERAGE_DIR : coverage
2324 TESTS_COVERAGE_ARTIFACT : coverage
2425
7879 with :
7980 project-token : ${{ env.CODACY_PROJECT_TOKEN }}
8081 coverage-reports : ' ${{ env.TESTS_COVERAGE_ARTIFACT }}_*/coverage.xml'
82+ rubocop :
83+ name : RuboCop
84+ runs-on : ubuntu-latest
85+ timeout-minutes : 10
86+ steps :
87+ - name : Checkout Code
88+ # see https://github.com/actions/checkout
89+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
90+ - name : Set up Ruby
91+ # see https://github.com/ruby/setup-ruby
92+ uses : ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0
93+ with :
94+ ruby-version : ${{ env.RUBY_VERSION_DEFAULT }}
95+ bundler-cache : true
96+ - name : Run RuboCop
97+ # see https://rubocop.org/
98+ run : >
99+ bundle exec rubocop
100+ --format simple
101+ --format github
You can’t perform that action at this time.
0 commit comments