From d0bfce42610a959aff48c4f51a73bdd89432b0af Mon Sep 17 00:00:00 2001 From: amesgen Date: Wed, 19 Apr 2023 19:55:04 +0200 Subject: [PATCH] Update CI --- .github/workflows/ci.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30033bf..a4205a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,16 @@ -name: My Workflow +name: CI on: - pull_request: push: + branches: + - master + pull_request: + types: + - opened + - synchronize jobs: my_job: - name: My Job on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: @@ -14,6 +18,6 @@ jobs: os: [ubuntu-latest, macos-latest] steps: - - uses: actions/checkout@v2 - - uses: cachix/install-nix-action@v16 + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v20 - run: ./test.sh