diff --git a/.github/workflows/ci-pre-commit.yml b/.github/workflows/ci-pre-commit.yml index fb9d4e28a..ed5902f8d 100644 --- a/.github/workflows/ci-pre-commit.yml +++ b/.github/workflows/ci-pre-commit.yml @@ -37,6 +37,11 @@ jobs: profile: minimal toolchain: nightly-2024-08-04 components: rustfmt, clippy + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: 1.66.1 + components: rustfmt, clippy - uses: actions-rs/toolchain@v1 with: profile: minimal diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 921e12341..dd6c26dae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,7 @@ repos: - id: cargo-clippy-remote-executor name: Cargo clippy for remote executor language: "rust" - entry: cargo +nightly-2023-03-01 clippy --manifest-path ./governance/remote_executor/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings + entry: cargo +1.66.1 clippy --manifest-path ./governance/remote_executor/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings pass_filenames: false files: governance/remote_executor # Hooks for cosmwasm contract