File tree Expand file tree Collapse file tree 2 files changed +37
-2
lines changed Expand file tree Collapse file tree 2 files changed +37
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Linter
2+ on : [push]
3+
4+ jobs :
5+ linters :
6+ name : Linters
7+ strategy :
8+ fail-fast : false
9+ matrix :
10+ ruby : [ 2.7, 3.0 ]
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v2
15+
16+ - name : Setup Ruby
17+ uses : ruby/setup-ruby@v1
18+ with :
19+ ruby-version : ${{ matrix.ruby }}
20+ bundler-cache : true
21+
22+ - name : Ruby gem cache
23+ uses : actions/cache@v1
24+ with :
25+ path : vendor/bundle
26+ key : ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
27+ restore-keys : |
28+ ${{ runner.os }}-gems-
29+
30+ - name : Install gems
31+ run : |
32+ bundle config path vendor/bundle
33+ bundle install --jobs 4 --retry 3
34+
35+ - name : Run linters
36+ run : |
37+ bundle exec rubocop --parallel
Original file line number Diff line number Diff line change 88jobs :
99 tests :
1010 name : Tests
11-
1211 strategy :
1312 fail-fast : false
1413 matrix :
1514 gemfile : [websocket-driver-0.6.x, websocket-driver-0.7.x]
1615 ruby : [2.6, 2.7, 3.0]
17-
1816 runs-on : ubuntu-latest
1917 env :
2018 FERRUM_PROCESS_TIMEOUT : 20
You can’t perform that action at this time.
0 commit comments