.github/workflows/test.yml in fillable-pdf-0.9.5.2 vs .github/workflows/test.yml in fillable-pdf-0.9.6

- old
+ new

@@ -1,32 +1,27 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. +name: Test -# GitHub recommends pinning actions to a commit SHA. -# To get a newer version, you will need to update the SHA. -# You can also reference a tag or branch, but the action may change without warning. +on: + push: + branches: + - main + pull_request: -name: test - -on: [push, pull_request] - jobs: test: - runs-on: ubuntu-latest - + name: Ruby ${{ matrix.ruby }} strategy: matrix: - ruby-version: ['3.1', '3.0', '2.7', '2.6', '2.5', '2.4'] + ruby: [ '3.2', '3.1', '3.0', '2.7', '2.6', '2.5', '2.4' ] steps: - uses: actions/checkout@v3 - - name: Set up Ruby ${{ matrix.ruby-version }} - uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108 + - name: Set up Ruby ${{ matrix.ruby }} + uses: ruby/setup-ruby@v1 with: - ruby-version: ${{ matrix.ruby-version }} + ruby-version: ${{ matrix.ruby }} + bundler-cache: true - name: Install dependencies run: bundle install - name: Run tests run: bundle exec rake test \ No newline at end of file