Skip to content

Commit

Permalink
remove nightly clippy+fmt config
Browse files Browse the repository at this point in the history
  • Loading branch information
grooviegermanikus committed Dec 11, 2024
1 parent 23b1d00 commit dca0a24
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/clippy_test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Cargo Nightly Clippy
name: Cargo clippy+fmt

on:
push:
Expand Down Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/fly-deploy-benchrunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fly-deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fly-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions run_clippy_fmt.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dca0a24

Please sign in to comment.