@@ -21,86 +21,86 @@ repos:
21
21
- id : cargo-fmt-remote-executor
22
22
name : Cargo format for remote executor
23
23
language : " rust"
24
- entry : cargo +nightly fmt --manifest-path ./governance/remote_executor/Cargo.toml --all -- --config-path rustfmt.toml
24
+ entry : cargo +nightly-2023-03-01 fmt --manifest-path ./governance/remote_executor/Cargo.toml --all -- --config-path rustfmt.toml
25
25
pass_filenames : false
26
26
files : governance/remote_executor
27
27
- id : cargo-clippy-remote-executor
28
28
name : Cargo clippy for remote executor
29
29
language : " rust"
30
- entry : cargo +nightly clippy --manifest-path ./governance/remote_executor/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
30
+ entry : cargo +nightly-2023-03-01 clippy --manifest-path ./governance/remote_executor/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
31
31
pass_filenames : false
32
32
files : governance/remote_executor
33
33
# Hooks for the attester
34
34
- id : cargo-fmt-attester
35
35
name : Cargo format for attester
36
36
language : " rust"
37
- entry : cargo +nightly fmt --manifest-path ./wormhole_attester/Cargo.toml --all -- --config-path rustfmt.toml
37
+ entry : cargo +nightly-2023-03-01 fmt --manifest-path ./wormhole_attester/Cargo.toml --all -- --config-path rustfmt.toml
38
38
pass_filenames : false
39
39
files : wormhole_attester
40
40
- id : cargo-clippy-attester
41
41
name : Cargo clippy for attester
42
42
language : " rust"
43
43
entry : |
44
- bash -c 'EMITTER_ADDRESS=0 BRIDGE_ADDRESS=0 cargo +nightly clippy --manifest-path \
44
+ bash -c 'EMITTER_ADDRESS=0 BRIDGE_ADDRESS=0 cargo +nightly-2023-03-01 clippy --manifest-path \
45
45
./wormhole_attester/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings'
46
46
pass_filenames : false
47
47
files : wormhole_attester
48
48
# Hooks for cosmwasm contract
49
49
- id : cargo-fmt-cosmwasm
50
50
name : Cargo format for cosmwasm contract
51
51
language : " rust"
52
- entry : cargo +nightly fmt --manifest-path ./target_chains/cosmwasm/Cargo.toml --all -- --config-path rustfmt.toml
52
+ entry : cargo +nightly-2023-03-01 fmt --manifest-path ./target_chains/cosmwasm/Cargo.toml --all -- --config-path rustfmt.toml
53
53
pass_filenames : false
54
54
files : target_chains/cosmwasm
55
55
- id : cargo-clippy-cosmwasm
56
56
name : Cargo clippy for cosmwasm contract
57
57
language : " rust"
58
- entry : cargo +nightly clippy --manifest-path ./target_chains/cosmwasm/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
58
+ entry : cargo +nightly-2023-03-01 clippy --manifest-path ./target_chains/cosmwasm/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
59
59
pass_filenames : false
60
60
files : target_chains/cosmwasm
61
61
# Hooks for Hermes
62
62
- id : cargo-fmt-hermes
63
63
name : Cargo format for Pyth Hermes
64
64
language : " rust"
65
- entry : cargo +nightly fmt --manifest-path ./hermes/Cargo.toml --all -- --config-path rustfmt.toml
65
+ entry : cargo +nightly-2023-03-01 fmt --manifest-path ./hermes/Cargo.toml --all -- --config-path rustfmt.toml
66
66
pass_filenames : false
67
67
files : hermes
68
68
# Hooks for message buffer contract
69
69
- id : cargo-fmt-message-buffer
70
70
name : Cargo format for message buffer contract
71
71
language : " rust"
72
- entry : cargo +nightly fmt --manifest-path ./pythnet/message_buffer/Cargo.toml --all -- --config-path rustfmt.toml
72
+ entry : cargo +nightly-2023-03-01 fmt --manifest-path ./pythnet/message_buffer/Cargo.toml --all -- --config-path rustfmt.toml
73
73
pass_filenames : false
74
74
files : pythnet/message_buffer
75
75
- id : cargo-clippy-message-buffer
76
76
name : Cargo clippy for message buffer contract
77
77
language : " rust"
78
- entry : cargo +nightly clippy --manifest-path ./pythnet/message_buffer/Cargo.toml --tests --fix --allow-dirty --allow-staged --features test-bpf -- -D warnings
78
+ entry : cargo +nightly-2023-03-01 clippy --manifest-path ./pythnet/message_buffer/Cargo.toml --tests --fix --allow-dirty --allow-staged --features test-bpf -- -D warnings
79
79
pass_filenames : false
80
80
files : pythnet/message_buffer
81
81
# Hooks for pythnet_sdk
82
82
- id : cargo-fmt-pythnet-sdk
83
83
name : Cargo format for pythnet SDK
84
84
language : " rust"
85
- entry : cargo +nightly fmt --manifest-path ./pythnet/pythnet_sdk/Cargo.toml --all -- --config-path rustfmt.toml
85
+ entry : cargo +nightly-2023-03-01 fmt --manifest-path ./pythnet/pythnet_sdk/Cargo.toml --all -- --config-path rustfmt.toml
86
86
pass_filenames : false
87
87
files : pythnet/pythnet_sdk
88
88
- id : cargo-clippy-pythnet-sdk
89
89
name : Cargo clippy for pythnet SDK
90
90
language : " rust"
91
- entry : cargo +nightly clippy --manifest-path ./pythnet/pythnet_sdk/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
91
+ entry : cargo +nightly-2023-03-01 clippy --manifest-path ./pythnet/pythnet_sdk/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
92
92
pass_filenames : false
93
93
files : pythnet/pythnet_sdk
94
94
# Hooks for solana receiver contract
95
95
- id : cargo-fmt-solana-receiver
96
96
name : Cargo format for solana target chain contract
97
97
language : " rust"
98
- entry : cargo +nightly fmt --manifest-path ./target_chains/solana/Cargo.toml --all -- --config-path rustfmt.toml
98
+ entry : cargo +nightly-2023-03-01 fmt --manifest-path ./target_chains/solana/Cargo.toml --all -- --config-path rustfmt.toml
99
99
pass_filenames : false
100
100
files : target_chains/solana
101
101
- id : cargo-clippy-solana-receiver
102
102
name : Cargo clippy for solana target chain contract
103
103
language : " rust"
104
- entry : cargo +nightly clippy --manifest-path ./target_chains/solana/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
104
+ entry : cargo +nightly-2023-03-01 clippy --manifest-path ./target_chains/solana/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
105
105
pass_filenames : false
106
106
files : target_chains/solana
0 commit comments