From 1a5bba4f727587d86870d6799ca8abbc597492f0 Mon Sep 17 00:00:00 2001 From: Donal McBreen Date: Mon, 22 Jan 2024 16:33:56 +0000 Subject: [PATCH] Only run tests on PRs There's 33 combinations to run, so let's not run them all twice. --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2aba8a7..88b3520 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,5 @@ name: Build -on: [push, pull_request] +on: [pull_request] jobs: rubocop: @@ -13,7 +13,7 @@ jobs: - name: Setup Ruby and install gems uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2.2 + ruby-version: 3.3.0 bundler-cache: true - name: Run Rubocop run: bundle exec rubocop --parallel