Skip to content

Commit b11d9cf

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

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

.github/workflows/test.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,34 @@ name: Test
22

33
on:
44
pull_request:
5-
65
push:
76
branches:
87
- master
98

109
jobs:
10+
ruby-versions:
11+
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
12+
1113
test:
14+
needs: ruby-versions
15+
runs-on: ubuntu-latest
16+
1217
strategy:
1318
fail-fast: false
1419
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 }}
21-
22-
env:
23-
CI_MATRIX: ${{ matrix.matrix }}
20+
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
2421

2522
steps:
26-
- uses: actions/checkout@v3
27-
28-
- name: Set up Ruby
29-
uses: ruby/setup-ruby@v1
30-
with:
31-
ruby-version: ${{ matrix.ruby }}
32-
bundler-cache: true
33-
34-
- name: Test things
35-
run: bundle exec rake test manifest:check
23+
- uses: actions/checkout@v4
24+
25+
- name: Set up Ruby
26+
uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: ${{ matrix.ruby }}
29+
bundler-cache: true
30+
apt-get: "haveged libyaml-dev"
31+
brew: libyaml
32+
vcpkg: libyaml
33+
34+
- name: Test things
35+
run: bundle exec rake test manifest:check

0 commit comments

Comments
 (0)