mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
Cancle builds on new commits
This commit is contained in:
parent
d7620a3e62
commit
b9580fcef7
2 changed files with 12 additions and 0 deletions
3
.github/workflows/clippy.yml
vendored
3
.github/workflows/clippy.yml
vendored
|
@ -28,6 +28,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
|
||||
with:
|
||||
github_token: "${{ secrets.github_token }}"
|
||||
- name: rust-toolchain
|
||||
uses: actions-rs/toolchain@v1.0.3
|
||||
with:
|
||||
|
|
9
.github/workflows/clippy_bors.yml
vendored
9
.github/workflows/clippy_bors.yml
vendored
|
@ -20,6 +20,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
|
||||
with:
|
||||
github_token: "${{ secrets.github_token }}"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2.0.0
|
||||
with:
|
||||
|
@ -65,6 +68,9 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
|
||||
with:
|
||||
github_token: "${{ secrets.github_token }}"
|
||||
- name: Install dependencies (Linux-i686)
|
||||
run: |
|
||||
sudo dpkg --add-architecture i386
|
||||
|
@ -192,6 +198,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
|
||||
with:
|
||||
github_token: "${{ secrets.github_token }}"
|
||||
- name: rust-toolchain
|
||||
uses: actions-rs/toolchain@v1.0.3
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue