.github/workflows/test.yml in prawn-svg-0.34.2 vs .github/workflows/test.yml in prawn-svg-0.35.0
- old
+ new
@@ -1,35 +1,22 @@
name: test
on: [push, pull_request]
jobs:
- rake_new:
+ test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
- ruby: [2.6, 2.7, '3.0', 3.1, 3.2, 3.3]
+ ruby: [2.7, '3.0', 3.1, 3.2, 3.3]
steps:
- - uses: actions/checkout@v4
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
- with:
- bundler-cache: true
- ruby-version: ${{ matrix.ruby }}
- - name: Run tests
- run: bundle exec rake
- env:
- RUBYOPT: "--enable-frozen-string-literal"
- rake_old:
- runs-on: ubuntu-latest
- strategy:
- fail-fast: false
- matrix:
- ruby: [2.5]
- steps:
- - uses: actions/checkout@v4
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
- with:
- bundler-cache: true
- ruby-version: ${{ matrix.ruby }}
- - name: Run tests
- run: bundle exec rake
+ - uses: actions/checkout@v4
+ - name: Remove Gemfile.lock
+ run: rm -f Gemfile.lock
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ bundler-cache: true
+ ruby-version: ${{ matrix.ruby }}
+ - name: Run tests
+ run: bundle exec rake
+ env:
+ RUBYOPT: "--enable-frozen-string-literal"