Skip to content

Commit 13213f1

Browse files
committed
update test ci job
1 parent 8f4d98e commit 13213f1

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@ on:
66
- main
77
pull_request:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
10-
rubocop:
11-
name: runner / rspec
13+
test:
14+
name: test
1215
runs-on: ubuntu-latest
13-
permissions:
14-
contents: read
16+
17+
strategy:
18+
matrix:
19+
ruby: [ '3.1.2', '3.1.4', '3.2.2', '3.2.3', '3.3.0' ]
1520

1621
steps:
1722
- name: checkout
@@ -20,6 +25,10 @@ jobs:
2025
- uses: ruby/setup-ruby@5f19ec79cedfadb78ab837f95b87734d0003c899 # [email protected]
2126
with:
2227
bundler-cache: true
28+
ruby-version: ${{ matrix.ruby }}
29+
30+
- name: bootstrap
31+
run: script/bootstrap
2332

2433
- name: test
2534
run: script/test -d -k

0 commit comments

Comments
 (0)