Skip to content

Commit da2925f

Browse files
authored
Improve CI - use up-to-date Ruby, run half of checks per commit, schedule checks (#22)
1 parent 35d7c4a commit da2925f

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.github/workflows/main.yml

+16-11
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
11
name: build
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
schedule:
6+
- cron: '20 5 * * 1'
7+
workflow_dispatch:
48

59
jobs:
610
test:
7-
811
runs-on: ubuntu-20.04
912

1013
strategy:
14+
fail-fast: false
15+
1116
matrix:
1217
ruby-version:
13-
- 3.2.1
14-
- 3.1.2
15-
- 3.0.0
16-
- 2.7.2
17-
- 2.6.6
18-
- 2.5.8
19-
- 2.4.10
20-
- 2.3.8
21-
- 2.2.10
18+
- 3.2
19+
- 3.1
20+
- 3.0
21+
- 2.7
22+
- 2.6
23+
- 2.5
24+
- 2.4
25+
- 2.3
26+
- 2.2
2227
- jruby-9.4.3.0
2328
- jruby-9.2.14.0
2429
- truffleruby-23.0.0

0 commit comments

Comments
 (0)