From f1ee9a2af54c245e1f10a9cdc9895b8febc4052e Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Thu, 5 Nov 2020 08:13:55 +0100 Subject: [PATCH] Adding CI support for PRs --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 124f429..40d2a76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,10 +2,9 @@ name: Continuous Integration on: push: - branches: - - staging - - trying - - master + branches: [master, staging, trying] + pull_request: + branches: [master] env: CARGO_TERM_COLOR: always @@ -42,7 +41,7 @@ jobs: uses: actions-rs/cargo@v1 continue-on-error: true with: - command: clippy + command: clippy compile: runs-on: ubuntu-latest