Add auto-cancelling previous PRs (#4573)

* Add auto-cancelling previous PRs

* Update ci.yml
This commit is contained in:
JT 2022-02-20 20:41:51 -05:00 committed by GitHub
parent 5bf2ffeaf5
commit 5befa6f80a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,11 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- name: Setup Rust toolchain