Skip to content

Commit dacbfa7

Browse files
committed
Update dependencies and improve CI workflow
- Use strings instead of floats for uniformity - Rename "deps" with "rails" for uniformity with Inherited Resources and Active Admin gems - Update bundler - Fix platforms
1 parent 41ebc98 commit dacbfa7

File tree

4 files changed

+188
-209
lines changed

4 files changed

+188
-209
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
matrix:
1616
ruby:
1717
- "3.0"
18-
- 3.1
19-
- 3.2
20-
- 3.3
21-
deps:
18+
- "3.1"
19+
- "3.2"
20+
- "3.3"
21+
rails:
2222
- rails_61
2323
- rails_70
2424
- rails_71
@@ -27,11 +27,11 @@ jobs:
2727
- name: Configure bundler (default)
2828
run: |
2929
echo "BUNDLE_GEMFILE=Gemfile" >> "$GITHUB_ENV"
30-
if: matrix.deps == 'rails_71'
30+
if: matrix.rails == 'rails_71'
3131
- name: Configure bundler (alternative)
3232
run: |
33-
echo "BUNDLE_GEMFILE=gemfiles/${{ matrix.deps }}/Gemfile" >> "$GITHUB_ENV"
34-
if: matrix.deps != 'rails_71'
33+
echo "BUNDLE_GEMFILE=gemfiles/${{ matrix.rails }}/Gemfile" >> "$GITHUB_ENV"
34+
if: matrix.rails != 'rails_71'
3535
- uses: ruby/setup-ruby@v1
3636
with:
3737
ruby-version: ${{ matrix.ruby }}
@@ -41,10 +41,10 @@ jobs:
4141
COVERAGE: true
4242
run: |
4343
bundle exec rspec
44-
mv coverage/coverage.xml coverage/coverage-ruby-${{ matrix.ruby }}-${{ matrix.deps }}.xml
44+
mv coverage/coverage.xml coverage/coverage-ruby-${{ matrix.ruby }}-${{ matrix.rails }}.xml
4545
- uses: actions/upload-artifact@v4
4646
with:
47-
name: coverage-ruby-${{ matrix.ruby }}-${{ matrix.deps }}
47+
name: coverage-ruby-${{ matrix.ruby }}-${{ matrix.rails }}
4848
path: coverage
4949
if-no-files-found: error
5050

0 commit comments

Comments
 (0)