File tree Expand file tree Collapse file tree 1 file changed +14
-16
lines changed
Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change 11name : CI
22
3- on : [push, pull_request, workflow_dispatch]
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
48
59jobs :
610 build :
@@ -16,26 +20,20 @@ jobs:
1620 strategy :
1721 fail-fast : false
1822 matrix :
19- os : [ ubuntu-20.04, ubuntu-18.04, macos-11, windows-2022 ]
20- ruby : [ 3.1, '3.0', 2.7 ]
21-
23+ os : [ubuntu-latest, macos-latest, windows-latest]
24+ ruby : ['2.7', '3.0', '3.1', '3.2']
2225 steps :
23- - name : repo checkout
24- uses : actions/checkout@v2
25-
26- - name : load ruby
27- uses : MSP-Greg/setup-ruby-pkgs@v1
26+ - uses : actions/checkout@v3
27+ - name : Set up Ruby
28+ uses : ruby/setup-ruby@v1
2829 with :
2930 ruby-version : ${{ matrix.ruby }}
3031 apt-get : libxml2-dev
3132 # brew: libxml2
3233 mingw : libxml2
33- bundler-cache : true
34- timeout-minutes : 10
35-
36- - name : compile
37- run : bundle exec rake compile
38-
39- - name : test
34+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
4035 timeout-minutes : 10
36+ - name : Build
37+ run : bundle exec rake compile
38+ - name : Test
4139 run : bundle exec rake test
You can’t perform that action at this time.
0 commit comments