From 7566b6cea965e5fc53a12d8b55b6488e186732be Mon Sep 17 00:00:00 2001 From: Alex Burgel Date: Sun, 14 Jan 2024 16:06:22 -0500 Subject: [PATCH] Run CI workflow on pull requests (#401) --- .github/workflows/ci.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0438dd33..2c689d4b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,13 +1,15 @@ name: ci -on: [push] +on: + push: + branches: + - master + pull_request: + jobs: test: strategy: fail-fast: false matrix: - os: - - ubuntu-latest - - macos-latest ruby: - "2.6" - "2.7" @@ -15,9 +17,9 @@ jobs: - "3.1" - "3.2" - ruby-head - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }}