.github/workflows/tests.yml in govuk_markdown-1.0.0 vs .github/workflows/tests.yml in govuk_markdown-2.0.0b1

- old
+ new

@@ -1,22 +1,26 @@ name: Ruby - on: - pull_request - jobs: - test: - + rspec: + strategy: + fail-fast: false + matrix: + ruby: ['2.7.6', '3.0.4', '3.1.2'] runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 + - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: ${{ matrix.ruby }} + - name: Install dependencies run: bundle install --jobs 4 --retry 3 + - name: Run linter run: bundle exec rubocop . + - name: Run tests run: bundle exec rake