mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +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
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
|
||||||
|
with:
|
||||||
|
github_token: "${{ secrets.github_token }}"
|
||||||
- name: rust-toolchain
|
- name: rust-toolchain
|
||||||
uses: actions-rs/toolchain@v1.0.3
|
uses: actions-rs/toolchain@v1.0.3
|
||||||
with:
|
with:
|
||||||
|
|
9
.github/workflows/clippy_bors.yml
vendored
9
.github/workflows/clippy_bors.yml
vendored
|
@ -20,6 +20,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
|
||||||
|
with:
|
||||||
|
github_token: "${{ secrets.github_token }}"
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.0.0
|
||||||
with:
|
with:
|
||||||
|
@ -65,6 +68,9 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
|
||||||
|
with:
|
||||||
|
github_token: "${{ secrets.github_token }}"
|
||||||
- name: Install dependencies (Linux-i686)
|
- name: Install dependencies (Linux-i686)
|
||||||
run: |
|
run: |
|
||||||
sudo dpkg --add-architecture i386
|
sudo dpkg --add-architecture i386
|
||||||
|
@ -192,6 +198,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
|
||||||
|
with:
|
||||||
|
github_token: "${{ secrets.github_token }}"
|
||||||
- name: rust-toolchain
|
- name: rust-toolchain
|
||||||
uses: actions-rs/toolchain@v1.0.3
|
uses: actions-rs/toolchain@v1.0.3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue