Skip to content

Commit b56bcdc

Browse files
committed
ci: Update GitHub workflows
1 parent f48d0f4 commit b56bcdc

File tree

6 files changed

+18
-16
lines changed

6 files changed

+18
-16
lines changed

.github/workflows/linters.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,22 @@ jobs:
1212
name: reviewdog
1313
runs-on: ubuntu-latest
1414

15+
strategy:
16+
matrix:
17+
ruby: ['3.0']
18+
19+
env:
20+
RUBY_VERSION: ${{ matrix.ruby }}
21+
1522
steps:
1623
- name: Check out code
1724
uses: actions/checkout@v4
1825

1926
- name: Set up Ruby
2027
uses: ruby/setup-ruby@v1
2128
with:
22-
ruby-version: '3.0'
23-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
29+
ruby-version: ${{ matrix.ruby }}
30+
bundler-cache: true
2431

2532
- uses: reviewdog/action-setup@v1
2633
with:

.github/workflows/specs_rails61.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
ruby: ['3.2']
19-
gemfile: ['rails61_activeadmin29', 'rails61_activeadmin']
18+
ruby: ['3.0', '3.1']
2019

2120
env:
22-
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
21+
RAILS_VERSION: 6.1.0
2322

2423
steps:
2524
- name: Checkout repository

.github/workflows/specs_rails70.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
ruby: ['3.3']
19-
gemfile: ['rails70_activeadmin']
18+
ruby: ['3.1']
2019

2120
env:
22-
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
21+
RAILS_VERSION: 7.0.0
2322

2423
steps:
2524
- name: Checkout repository

.github/workflows/specs_rails71.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
ruby: ['3.2', '3.4']
19-
gemfile: ['rails71_activeadmin']
18+
ruby: ['3.2']
2019

2120
env:
22-
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
21+
RAILS_VERSION: 7.1.0
2322

2423
steps:
2524
- name: Checkout repository

.github/workflows/specs_rails72.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ jobs:
1616
strategy:
1717
matrix:
1818
ruby: ['3.2', '3.4']
19-
gemfile: ['rails72_activeadmin']
2019

2120
env:
22-
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
21+
RAILS_VERSION: 7.2.0
2322

2423
steps:
2524
- name: Checkout repository

.github/workflows/specs_rails80.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
ruby: ['3.2', '3.4']
19-
gemfile: ['rails80_activeadmin']
18+
ruby: ['3.2', '3.3', '3.4']
2019

2120
env:
22-
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
21+
RAILS_VERSION: 8.0.0
2322

2423
steps:
2524
- name: Checkout repository

0 commit comments

Comments
 (0)