Skip to content

Commit 9489bc5

Browse files
authored
ci: fix workflow and linting failures (#242)
* test: fix Style/MethodDefParentheses rubocop violation * ci: fix harden-runner allowed endpoints
1 parent 3ad9d44 commit 9489bc5

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/conformance.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
release-assets.githubusercontent.com:443
3333
rubygems.org:443
3434
storage.googleapis.com:443
35+
sum.golang.org:443
36+
go.dev:443
37+
dl.google.com:443
3538
3639
- name: Checkout code
3740
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

‎.github/workflows/dependency-review.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
allowed-endpoints: >
2525
api.github.com:443
2626
github.com:443
27+
api.deps.dev:443
2728
2829
- name: 'Checkout Repository'
2930
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

‎test/test_function.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def self.decode_json json
160160
IntValue.new json.to_i
161161
end
162162

163-
def to_json(*_args)
163+
def to_json *_args
164164
get.to_s
165165
end
166166

0 commit comments

Comments
 (0)