remove nightly clippy+fmt config (#419)
This commit is contained in:
parent
23b1d0002f
commit
325dfe5a22
|
@ -1,4 +1,4 @@
|
||||||
name: Cargo Nightly Clippy
|
name: Cargo clippy+fmt
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -27,8 +27,6 @@ jobs:
|
||||||
# The toolchain action should definitely be run before the cache action
|
# The toolchain action should definitely be run before the cache action
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
with:
|
with:
|
||||||
# use toolchain version from rust-toolchain.toml
|
|
||||||
toolchain: nightly
|
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
cache: true
|
cache: true
|
||||||
# avoid the default "-D warnings" which thrashes cache
|
# avoid the default "-D warnings" which thrashes cache
|
||||||
|
@ -48,5 +46,5 @@ jobs:
|
||||||
|
|
||||||
- name: Run fmt+clippy
|
- name: Run fmt+clippy
|
||||||
run: |
|
run: |
|
||||||
cargo +nightly fmt --all --check
|
cargo fmt --all --check
|
||||||
cargo +nightly clippy --locked --workspace --all-targets -- -D warnings
|
cargo clippy --locked --workspace --all-targets -- -D warnings
|
||||||
|
|
|
@ -11,7 +11,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
|
@ -10,7 +10,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
|
@ -9,7 +9,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
cargo +nightly fmt --all
|
cargo fmt --all
|
||||||
cargo +nightly clippy --locked --workspace --all-targets -- -D warnings
|
cargo clippy --locked --workspace --all-targets -- -D warnings
|
Loading…
Reference in New Issue