File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 66
66
run : echo 'DB=${{ matrix.db }}' >> $GITHUB_ENV
67
67
- run : sudo echo "127.0.0.1 mysql2gem.example.com" | sudo tee -a /etc/hosts
68
68
- run : bash ci/setup.sh
69
- - run : bundle exec rake
69
+ - run : bundle exec rake spec
Original file line number Diff line number Diff line change
1
+ name : RuboCop
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - name : Set up Ruby 2.4
12
+ uses : ruby/setup-ruby@v1
13
+ with :
14
+ ruby-version : 2.4
15
+ - name : Cache gems
16
+ uses : actions/cache@v1
17
+ with :
18
+ path : vendor/bundle
19
+ key : ${{ runner.os }}-rubocop-${{ hashFiles('**/Gemfile.lock') }}
20
+ restore-keys : |
21
+ ${{ runner.os }}-rubocop-
22
+ - name : Install gems
23
+ run : |
24
+ bundle config path vendor/bundle
25
+ bundle install --jobs 4 --retry 3
26
+ - name : Run RuboCop
27
+ run : bundle exec rubocop
You can’t perform that action at this time.
0 commit comments