.github/workflows/main.yml in tiny_hooks-0.1.0 vs .github/workflows/main.yml in tiny_hooks-0.2.0

- old
+ new

@@ -2,17 +2,22 @@ on: [push,pull_request] jobs: build: - runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + ruby: [2.5, 2.6, 2.7, 3.0, head] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 2.6.6 + ruby-version: ${{ matrix.ruby }} + bundler-cache: true - name: Run the default task run: | - gem install bundler -v 2.2.11 - bundle install bundle exec rake +