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
pull/24376/head
Andrew Lamb 2021-01-11 12:01:07 -05:00 committed by GitHub
parent 00bea0a388
commit de6c385d85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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