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:
|
||||
push:
|
||||
|
@ -27,8 +27,6 @@ jobs:
|
|||
# The toolchain action should definitely be run before the cache action
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
# use toolchain version from rust-toolchain.toml
|
||||
toolchain: nightly
|
||||
components: rustfmt, clippy
|
||||
cache: true
|
||||
# avoid the default "-D warnings" which thrashes cache
|
||||
|
@ -48,5 +46,5 @@ jobs:
|
|||
|
||||
- name: Run fmt+clippy
|
||||
run: |
|
||||
cargo +nightly fmt --all --check
|
||||
cargo +nightly clippy --locked --workspace --all-targets -- -D warnings
|
||||
cargo fmt --all --check
|
||||
cargo clippy --locked --workspace --all-targets -- -D warnings
|
||||
|
|
|
@ -11,7 +11,7 @@ env:
|
|||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
@ -10,7 +10,7 @@ env:
|
|||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
@ -9,7 +9,7 @@ env:
|
|||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
cargo +nightly fmt --all
|
||||
cargo +nightly clippy --locked --workspace --all-targets -- -D warnings
|
||||
cargo fmt --all
|
||||
cargo clippy --locked --workspace --all-targets -- -D warnings
|
Loading…
Reference in New Issue