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 pushpull/24376/head
parent
00bea0a388
commit
de6c385d85
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue