diff --git a/.github/workflows/ci-pre-commit.yml b/.github/workflows/ci-pre-commit.yml index fb9d4e28a5..ed5902f8d9 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/.github/workflows/ci-remote-executor.yml b/.github/workflows/ci-remote-executor.yml index 0258235883..1275c049a6 100644 --- a/.github/workflows/ci-remote-executor.yml +++ b/.github/workflows/ci-remote-executor.yml @@ -15,7 +15,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.82.0 + toolchain: 1.66.1 components: rustfmt, clippy override: true - name: Install Solana diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3462eade94..dd6c26dae1 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 +1.82.0 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 diff --git a/governance/remote_executor/rust-toolchain.toml b/governance/remote_executor/rust-toolchain.toml index 2e2b8c8521..f701aa5354 100644 --- a/governance/remote_executor/rust-toolchain.toml +++ b/governance/remote_executor/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "1.82.0" +channel = "1.66.1"