Skip to content

Commit 9763d01

Browse files
committed
removed matrices from linting jobs
1 parent 927f736 commit 9763d01

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
env:
1212
RAILS_ENV: test
13+
RUBY_VERSION: 3.2
1314

1415
permissions:
1516
actions: write
@@ -22,10 +23,6 @@ jobs:
2223
name: ERB checking
2324
runs-on: ubuntu-latest
2425

25-
strategy:
26-
matrix:
27-
ruby_version: [3.1, 3.2]
28-
2926
steps:
3027
- name: Checkout repo
3128
uses: actions/checkout@v3
@@ -36,18 +33,14 @@ jobs:
3633
- name: Setup Ruby
3734
uses: ruby/setup-ruby@v1
3835
with:
39-
ruby-version: ${{ matrix.ruby_version }}
36+
ruby-version: ${{ env.RUBY_VERSION }}
4037
bundler-cache: true
4138
- run: bundle exec erb_lint --lint-all
4239

4340
rubocop:
4441
name: Rubocop checking
4542
runs-on: ubuntu-latest
4643

47-
strategy:
48-
matrix:
49-
ruby_version: [3.1, 3.2]
50-
5144
steps:
5245
- name: Checkout repo
5346
uses: actions/checkout@v3
@@ -58,7 +51,7 @@ jobs:
5851
- name: Setup Ruby
5952
uses: ruby/setup-ruby@v1
6053
with:
61-
ruby-version: ${{ matrix.ruby_version }}
54+
ruby-version: ${{ env.RUBY_VERSION }}
6255
bundler-cache: true
6356
- run: bundle exec rubocop
6457

0 commit comments

Comments
 (0)