Skip to content

Commit 8f4d98e

Browse files
committed
update lint ci job
1 parent ad47b3a commit 8f4d98e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/lint.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ on:
66
- main
77
pull_request:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
10-
rubocop:
11-
name: runner / rubocop
13+
lint:
14+
name: lint
1215
runs-on: ubuntu-latest
13-
permissions:
14-
contents: read
1516

1617
steps:
1718
- name: checkout
@@ -21,5 +22,8 @@ jobs:
2122
with:
2223
bundler-cache: true
2324

25+
- name: bootstrap
26+
run: script/bootstrap
27+
2428
- name: rubocop
2529
run: bundle exec rubocop -c .rubocop.yml lib/ spec/

0 commit comments

Comments
 (0)