File tree Expand file tree Collapse file tree 2 files changed +25
-19
lines changed
Expand file tree Collapse file tree 2 files changed +25
-19
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,19 @@ name: RuboCop
22
33on : [push, pull_request]
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 lint :
710 runs-on : ubuntu-latest
811
912 steps :
10- - uses : actions/checkout@v3
11- - name : Set up Ruby
12- uses : ruby/setup-ruby@v1
13- with :
14- ruby-version : 3.2
15- bundler-cache : true # 'bundle install' and cache
16- - name : Run RuboCop
17- run : bundle exec rubocop --parallel
13+ - uses : actions/checkout@v4
14+ - name : Set up Ruby
15+ uses : ruby/setup-ruby@v1
16+ with :
17+ ruby-version : 3.4
18+ bundler-cache : true # 'bundle install' and cache
19+ - name : Run RuboCop
20+ run : bundle exec rubocop --parallel
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Tests
22
33on : [push, pull_request]
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 test :
710 runs-on : ubuntu-latest
@@ -11,16 +14,16 @@ jobs:
1114 matrix :
1215 ruby-version :
1316 - head
14- - ' 3.2 '
15- - ' 3.1 '
16- - ' 3.0 '
17+ - " 3.4 "
18+ - " 3.3 "
19+ - " 3.2 "
1720
1821 steps :
19- - uses : actions/checkout@v3
20- - name : Set up Ruby ${{ matrix.ruby-version }}
21- uses : ruby/setup-ruby@v1
22- with :
23- ruby-version : ${{ matrix.ruby-version }}
24- bundler-cache : true # 'bundle install' and cache
25- - name : Run tests
26- run : bundle exec rake
22+ - uses : actions/checkout@v4
23+ - name : Set up Ruby ${{ matrix.ruby-version }}
24+ uses : ruby/setup-ruby@v1
25+ with :
26+ ruby-version : ${{ matrix.ruby-version }}
27+ bundler-cache : true # 'bundle install' and cache
28+ - name : Run tests
29+ run : bundle exec rake
You can’t perform that action at this time.
0 commit comments