.github/workflows/ci.yml in fb2rb-0.5.0 vs .github/workflows/ci.yml in fb2rb-0.6.0

- old
+ new

@@ -7,27 +7,25 @@ - name: Checkout uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 - - name: Build - run: bundle install --jobs 4 --retry 3 + ruby-version: '3.0' + bundler-cache: true - name: Lint run: bundle exec rake lint test: strategy: matrix: - ruby: [jruby, 2.4, 2.5, 2.6, 2.7] - platform: [ubuntu-latest, macos-latest, windows-latest] - runs-on: ${{ matrix.platform }} + ruby: ['jruby', '2.4', '2.5', '2.6', '2.7', '3.0'] + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - - name: Build - run: bundle install --jobs 4 --retry 3 + bundler-cache: true - name: Test run: bundle exec rake spec