From de6c385d85b5f14e3dbe5e4f20a680115cb5dbec Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Mon, 11 Jan 2021 12:01:07 -0500 Subject: [PATCH] fix: Run CI checks only once on PRs, not twice (#546) * fix: Run CI tests only once on PRs, not twice * fix: run on pull_request rather than push --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ea2a869ee6..9ce7369217 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,7 +15,7 @@ # Cargo's build artefacts are cached to reduce the build time, see # https://github.com/actions/cache for more info. -on: [push, pull_request] +on: [pull_request] name: ci @@ -38,7 +38,7 @@ jobs: with: path: target key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - + # Build! - name: Run dev build uses: actions-rs/cargo@v1