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 41
41
continue-on-error : ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
42
42
steps :
43
43
- name : Checkout
44
- uses : actions/checkout@v3
44
+ uses : actions/checkout@v4
45
45
- name : Setup Ruby & Bundle
46
46
uses : ruby/setup-ruby@v1
47
47
with :
Original file line number Diff line number Diff line change 47
47
ruby : " 3.2"
48
48
steps :
49
49
- name : Checkout
50
- uses : actions/checkout@v3
50
+ uses : actions/checkout@v4
51
51
- name : Setup Ruby & Bundle
52
52
uses : ruby/setup-ruby@v1
53
53
with :
Original file line number Diff line number Diff line change 46
46
runs-on : ubuntu-latest
47
47
steps :
48
48
- name : Checkout
49
- uses : actions/checkout@v3
49
+ uses : actions/checkout@v4
50
50
51
51
- name : Setup Ruby & Bundle
52
52
uses : ruby/setup-ruby@v1
Original file line number Diff line number Diff line change 42
42
continue-on-error : ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
43
43
steps :
44
44
- name : Checkout
45
- uses : actions/checkout@v3
45
+ uses : actions/checkout@v4
46
46
- name : Setup Ruby & Bundle
47
47
uses : ruby/setup-ruby@v1
48
48
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