Skip to content

Commit de9782a

Browse files
committed
chore(target_chains/solana): fix Rust version in CI
1 parent 08b95f7 commit de9782a

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.github/workflows/ci-pre-commit.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ jobs:
4242
profile: minimal
4343
toolchain: 1.66.1
4444
components: rustfmt, clippy
45+
- uses: actions-rs/toolchain@v1
46+
with:
47+
profile: minimal
48+
toolchain: 1.73.0
49+
components: rustfmt, clippy
4550
- uses: actions-rs/toolchain@v1
4651
with:
4752
profile: minimal

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ jobs:
2323
working-directory: target_chains/solana
2424
steps:
2525
- uses: actions/checkout@v2
26+
- uses: actions-rs/toolchain@v1
27+
with:
28+
profile: minimal
29+
toolchain: 1.73.0
30+
override: true
2631
- name: Install Solana
2732
run: |
2833
sh -c "$(curl -sSfL https://release.solana.com/v1.16.20/install)"

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ repos:
108108
- id: cargo-clippy-pyth-solana-receiver
109109
name: Cargo clippy for solana target chain contract
110110
language: "rust"
111-
entry: cargo +nightly-2023-03-01 clippy --manifest-path ./target_chains/solana/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
111+
entry: cargo +1.73.0 clippy --manifest-path ./target_chains/solana/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
112112
pass_filenames: false
113113
files: target_chains/solana
114114
# For express relay python files

0 commit comments

Comments
 (0)