Skip to content

Commit c373a3a

Browse files
committed
fix failing actions
1 parent 2912ae0 commit c373a3a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/sdk-reference.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ jobs:
2222
with:
2323
ruby-version: 3.0
2424
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
25-
- name: Run rubocop
25+
- name: Generate documentation
2626
run: bundle exec yard
27+
- name: Run RuboCop
28+
run: bundle exec rubocop
2729
- name: Set env BRANCH
2830
run: echo "BRANCH=$(echo $GITHUB_REF | cut -d'/' -f 3)" >> $GITHUB_ENV
2931
- name: Set env CLOUDFLARE_BRANCH

.rubocop.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
inherit_from: .rubocop_todo.yml
22

3-
require: rubocop-rspec
3+
require:
4+
- rubocop-rspec
5+
- rubocop-capybara
6+
47
AllCops:
58
TargetRubyVersion: 3.0
69
DisplayCopNames: true

gem_config.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def self.dev_dependencies
3838
[["bundler", ">= 1.3.0"],
3939
["yard", "~> 0.9.34"],
4040
["rubocop", "~> 1.51"],
41-
["rubocop-rspec", "~> 2.22"]] + testing_and_debugging_dependencies
41+
["rubocop-rspec", "~> 2.22"],
42+
["rubocop-capybara", "~> 2.20"]] + testing_and_debugging_dependencies
4243
end
4344

4445
def self.testing_and_debugging_dependencies

0 commit comments

Comments
 (0)