Skip to content

Commit c5711dd

Browse files
devin-ai-integration[bot]Jayant Krishnamurthy
andcommitted
refactor: remove toolchain version arguments from cargo commands
Co-Authored-By: Jayant Krishnamurthy <[email protected]>
1 parent ffd03b5 commit c5711dd

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/workflows/ci-cosmwasm-contract.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
components: rustfmt, clippy
2828
override: true
2929
- name: Format check
30-
run: cargo +1.82.0 fmt --manifest-path ./target_chains/cosmwasm/Cargo.toml --all -- --check
30+
run: cargo fmt --manifest-path ./target_chains/cosmwasm/Cargo.toml --all -- --check
3131
if: success() || failure()
3232
- name: Clippy check
33-
run: cargo +1.82.0 clippy --manifest-path ./target_chains/cosmwasm/Cargo.toml --tests -- --deny warnings
33+
run: cargo clippy --manifest-path ./target_chains/cosmwasm/Cargo.toml --tests -- --deny warnings
3434
if: success() || failure()
3535
- name: Build
3636
run: cargo build --verbose

.github/workflows/ci-fortuna.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
toolchain: 1.82.0
2121
override: true
2222
- name: Format check
23-
run: cargo +1.82.0 fmt --manifest-path ./apps/fortuna/Cargo.toml --all -- --check
23+
run: cargo fmt --manifest-path ./apps/fortuna/Cargo.toml --all -- --check
2424
if: success() || failure()
2525
- name: Clippy check
26-
run: cargo +1.82.0 clippy --manifest-path ./apps/fortuna/Cargo.toml --tests -- --deny warnings
26+
run: cargo clippy --manifest-path ./apps/fortuna/Cargo.toml --tests -- --deny warnings
2727
if: success() || failure()
2828
- name: Run executor tests
2929
run: cargo test --manifest-path ./apps/fortuna/Cargo.toml

.github/workflows/ci-hermes-server.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
with:
2626
repo-token: ${{ secrets.GITHUB_TOKEN }}
2727
- name: Format check
28-
run: cargo +1.82.0 fmt --manifest-path ./apps/hermes/server/Cargo.toml --all -- --check
28+
run: cargo fmt --manifest-path ./apps/hermes/server/Cargo.toml --all -- --check
2929
if: success() || failure()
3030
- name: Clippy check
31-
run: cargo +1.82.0 clippy --manifest-path ./apps/hermes/server/Cargo.toml --tests -- --deny warnings
31+
run: cargo clippy --manifest-path ./apps/hermes/server/Cargo.toml --tests -- --deny warnings
3232
if: success() || failure()
3333
- name: Run executor tests
3434
run: cargo test --manifest-path ./apps/hermes/server/Cargo.toml

.github/workflows/ci-lazer-rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
- name: check Cargo.toml formatting
3838
run: find . -name Cargo.toml -exec taplo fmt --check --diff {} \;
3939
- name: Format check
40-
run: cargo +1.82.0 fmt --manifest-path ./lazer/Cargo.toml --all -- --check
40+
run: cargo fmt --manifest-path ./lazer/Cargo.toml --all -- --check
4141
if: success() || failure()
4242
- name: Clippy check
43-
run: cargo +1.82.0 clippy --manifest-path ./lazer/Cargo.toml --all-targets -- --deny warnings
43+
run: cargo clippy --manifest-path ./lazer/Cargo.toml --all-targets -- --deny warnings
4444
if: success() || failure()
4545
- name: Build Solana programs
4646
run: cargo build-sbf

.github/workflows/ci-remote-executor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
sh -c "$(curl -sSfL https://release.solana.com/v1.18.23/install)"
2727
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
2828
- name: Format check
29-
run: cargo +1.73.0 fmt --manifest-path ./governance/remote_executor/Cargo.toml --all -- --check
29+
run: cargo fmt --manifest-path ./governance/remote_executor/Cargo.toml --all -- --check
3030
if: success() || failure()
3131
- name: Clippy check
32-
run: cargo +1.73.0 clippy --manifest-path ./governance/remote_executor/Cargo.toml --tests -- --deny warnings
32+
run: cargo clippy --manifest-path ./governance/remote_executor/Cargo.toml --tests -- --deny warnings
3333
if: success() || failure()
3434
- name: Run executor tests
3535
run: cargo test-sbf --manifest-path ./governance/remote_executor/Cargo.toml

.github/workflows/ci-solana-contract.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
sh -c "$(curl -sSfL https://release.solana.com/v1.16.20/install)"
3434
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
3535
- name: Format check
36-
run: cargo +1.73.0 fmt --manifest-path ./target_chains/solana/Cargo.toml --all -- --check
36+
run: cargo fmt --manifest-path ./target_chains/solana/Cargo.toml --all -- --check
3737
if: success() || failure()
3838
- name: Clippy check
39-
run: cargo +1.73.0 clippy --manifest-path ./target_chains/solana/Cargo.toml --tests -- --deny warnings
39+
run: cargo clippy --manifest-path ./target_chains/solana/Cargo.toml --tests -- --deny warnings
4040
if: success() || failure()
4141
- name: Build
4242
run: cargo-build-sbf

0 commit comments

Comments
 (0)