Skip to content

Commit 0cac6d7

Browse files
committed
Actually run rubocop on the template.rb files
1 parent 77da55d commit 0cac6d7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions:
1818
contents: read # to fetch code (actions/checkout)
1919

2020
jobs:
21-
test:
21+
prettier:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@v3
@@ -30,6 +30,18 @@ jobs:
3030
cache: "yarn"
3131
- run: yarn install
3232
- run: yarn run format-check
33+
rubocop:
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v3
37+
with:
38+
persist-credentials: false
39+
- name: Install Ruby and Bundler
40+
uses: ruby/setup-ruby@v1
41+
with:
42+
bundler-cache: true
43+
ruby-version: '3.0'
44+
- run: bundle exec rubocop
3345

3446
test_generated_apps:
3547
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)