diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index befbde2..1dd7975 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,18 +1,22 @@ name: Ruby -on: [push,pull_request] +on: + push: + branches: + - main + pull_request: jobs: build: strategy: fail-fast: false matrix: - ruby: [ 2.7, '3.0', 3.1, ruby-head ] + ruby: [ 2.7, 3.1, 3.2, 3.3, ruby-head ] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - - run: bundle install + bundler-cache: true - run: bundle exec rake