File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change 39
39
- run : sudo apt-get install -y universal-ctags
40
40
41
41
- run : bundle exec rake spec
42
- - run : bundle exec rake rubocop
43
42
44
43
- name : Slack Notification (not success)
45
44
uses : act10ns/slack@v2
50
49
webhook-url : ${{ secrets.SLACK_WEBHOOK }}
51
50
matrix : ${{ toJson(matrix) }}
52
51
52
+ rubocop :
53
+ runs-on : ubuntu-latest
54
+
55
+ steps :
56
+ - uses : actions/checkout@v4
57
+
58
+ - uses : ruby/setup-ruby@v1
59
+ with :
60
+ ruby-version : ruby
61
+ bundler-cache : true
62
+
63
+ - name : bundle update
64
+ run : |
65
+ set -xe
66
+ bundle config path vendor/bundle
67
+ bundle update --jobs $(nproc) --retry 3
68
+
69
+ - run : bundle exec rake rubocop
70
+
71
+ - name : Slack Notification (not success)
72
+ uses : act10ns/slack@v2
73
+ if : " ! success()"
74
+ continue-on-error : true
75
+ with :
76
+ status : ${{ job.status }}
77
+ webhook-url : ${{ secrets.SLACK_WEBHOOK }}
78
+
53
79
rbs :
54
80
runs-on : ubuntu-latest
55
81
81
107
notify :
82
108
needs :
83
109
- test
110
+ - rubocop
84
111
- rbs
85
112
86
113
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments