Run CI only on latest PR commit (#920)

* Run CI only on latest PR commit

* CI of previous commit should be cancelled...

* Revert
This commit is contained in:
Billy Chan 2022-07-28 12:00:04 +08:00 committed by GitHub
parent cf124014e8
commit 87a9eb9d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,10 @@ on:
- master
- 0.2.x
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always