Skip to content

Commit 0fdb7fe

Browse files
committed
update CI a bit
1 parent 234f3b2 commit 0fdb7fe

1 file changed

Lines changed: 13 additions & 16 deletions

File tree

.github/workflows/test.yml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,25 @@ on:
88
- master
99

1010
jobs:
11+
ruby-versions:
12+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
13+
1114
test:
1215
strategy:
1316
fail-fast: false
1417
matrix:
15-
ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, jruby-9.2]
16-
os: [ubuntu-20.04, windows-2022]
17-
include:
18-
- { ruby: 3.1, os: ubuntu-20.04, matrix: pipeline }
19-
20-
runs-on: ${{ matrix.os }}
18+
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
2119

22-
env:
23-
CI_MATRIX: ${{ matrix.matrix }}
20+
runs-on: ubuntu-latest
2421

2522
steps:
26-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2724

28-
- name: Set up Ruby
29-
uses: ruby/setup-ruby@v1
30-
with:
31-
ruby-version: ${{ matrix.ruby }}
32-
bundler-cache: true
25+
- name: Set up Ruby
26+
uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: ${{ matrix.ruby }}
29+
bundler-cache: true
3330

34-
- name: Test things
35-
run: bundle exec rake test manifest:check
31+
- name: Test things
32+
run: bundle exec rake test manifest:check

0 commit comments

Comments
 (0)