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 8
8
jobs :
9
9
tests :
10
10
name : Tests
11
-
12
11
strategy :
13
12
fail-fast : false
14
13
matrix :
15
14
gemfile : [websocket-driver-0.6.x, websocket-driver-0.7.x]
16
15
ruby : [2.6, 2.7, 3.0]
17
-
18
16
runs-on : ubuntu-latest
19
17
env :
20
18
FERRUM_PROCESS_TIMEOUT : 20
You can’t perform that action at this time.
0 commit comments