From e53af1bc5767251dc63a4029b7acfdad0d9c41fb Mon Sep 17 00:00:00 2001 From: Dawa Ometto Date: Sat, 11 Jan 2025 18:13:31 +0100 Subject: [PATCH] Bump ruby versions in CI (#68) - Only run tests for pushes to master --- .github/workflows/test.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8ce8235..49f61d3 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,11 +1,16 @@ name: Ruby Build -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + jobs: build: runs-on: ubuntu-latest strategy: matrix: - ruby: [2.6.0, 2.7.6, 3.0.0] + ruby: [3.0.0, 3.3, 3.4] steps: - run: echo "The job was automatically triggered by a ${{ github.event_name }} event." - run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!"