.github/workflows/test.yml in timeout-0.2.0 vs .github/workflows/test.yml in timeout-0.3.0
- old
+ new
@@ -1,22 +1,22 @@
-name: ubuntu
+name: test
on: [push, pull_request]
jobs:
build:
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
strategy:
+ fail-fast: false
matrix:
- ruby: [ 2.7, 2.6, 2.5, 2.4, head ]
+ ruby: [ '3.0', 2.7, 2.6, 2.5, 2.4, head, jruby, truffleruby-head ]
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- - name: Install dependencies
- run: bundle install
+ bundler-cache: true # 'bundle install' and cache gems
- name: Run test
- run: rake test
+ run: bundle exec rake test