File tree Expand file tree Collapse file tree 5 files changed +47
-4
lines changed
Expand file tree Collapse file tree 5 files changed +47
-4
lines changed Original file line number Diff line number Diff line change 4141 continue-on-error : ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
4242 steps :
4343 - name : Checkout
44- uses : actions/checkout@v3
44+ uses : actions/checkout@v4
4545 - name : Setup Ruby & Bundle
4646 uses : ruby/setup-ruby@v1
4747 with :
Original file line number Diff line number Diff line change 4747 ruby : " 3.2"
4848 steps :
4949 - name : Checkout
50- uses : actions/checkout@v3
50+ uses : actions/checkout@v4
5151 - name : Setup Ruby & Bundle
5252 uses : ruby/setup-ruby@v1
5353 with :
Original file line number Diff line number Diff line change 4646 runs-on : ubuntu-latest
4747 steps :
4848 - name : Checkout
49- uses : actions/checkout@v3
49+ uses : actions/checkout@v4
5050
5151 - name : Setup Ruby & Bundle
5252 uses : ruby/setup-ruby@v1
Original file line number Diff line number Diff line change 4242 continue-on-error : ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
4343 steps :
4444 - name : Checkout
45- uses : actions/checkout@v3
45+ uses : actions/checkout@v4
4646 - name : Setup Ruby & Bundle
4747 uses : ruby/setup-ruby@v1
4848 with :
Original file line number Diff line number Diff line change 1+ name : Code Style
2+
3+ on :
4+ push :
5+ branches :
6+ - ' main'
7+ tags :
8+ - ' !*' # Do not execute on tags
9+ pull_request :
10+ branches :
11+ - ' *'
12+
13+ jobs :
14+ rubocop :
15+ name : RuboCop
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ experimental : [false]
20+ rubygems :
21+ - latest
22+ bundler :
23+ - latest
24+ gemfile :
25+ - style
26+ ruby :
27+ - " 3.2"
28+
29+ runs-on : ubuntu-latest
30+ env : # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
31+ BUNDLE_GEMFILE : ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
32+ steps :
33+ - name : Checkout
34+ uses : actions/checkout@v4
35+ - name : Setup Ruby & Bundle
36+ uses : ruby/setup-ruby@v1
37+ with :
38+ ruby-version : ${{ matrix.ruby }}
39+ rubygems : ${{ matrix.rubygems }}
40+ bundler : ${{ matrix.bundler }}
41+ bundler-cache : true
42+ - name : Run RuboCop Gradual
43+ run : bundle exec rake rubocop_gradual:check
You can’t perform that action at this time.
0 commit comments