.github/workflows/test.yml in extralite-1.6 vs .github/workflows/test.yml in extralite-1.7
- old
+ new
@@ -6,26 +6,21 @@
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
- ruby: [2.6, 2.7, 3.0]
+ ruby: [2.6, 2.7, '3.0']
name: >-
${{matrix.os}}, ${{matrix.ruby}}
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v1
- - uses: actions/setup-ruby@v1
+ - uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
- - name: Install dependencies
- run: |
- gem install bundler
- bundle install
- - name: Show Linux kernel version
- run: uname -r
+ bundler-cache: true # 'bundle install' and cache
- name: Compile C-extension
run: bundle exec rake compile
- name: Run tests
run: bundle exec rake test