.github/workflows/tests.yml in public_suffix-4.0.7 vs .github/workflows/tests.yml in public_suffix-5.0.0

- old
+ new

@@ -4,25 +4,26 @@ push: pull_request: workflow_dispatch: jobs: - build: + test: strategy: matrix: ruby-version: - "2.6" - "2.7" - "3.0" - "3.1" - platform: [ubuntu-latest] - runs-on: ${{ matrix.platform }} + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} - - name: Install dependencies - run: bundle install + bundler-cache: true + - name: Rubocop + run: bundle exec rake rubocop - name: Run tests - run: bundle exec rake + run: bundle exec rake test