remove nightly clippy+fmt config (#419)

This commit is contained in:
Groovie | Mango 2024-12-11 13:04:21 +01:00 committed by GitHub
parent 23b1d0002f
commit 325dfe5a22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 10 deletions

View File

@ -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

View File

@ -11,7 +11,7 @@ env:
jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2

View File

@ -10,7 +10,7 @@ env:
jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2

View File

@ -9,7 +9,7 @@ env:
jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2

View File

@ -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