Skip to content

Commit 4abc6ff

Browse files
committed
chore(relayer): restore relayer CI (#1192)
- Add rust-toolchain.toml to dependency analysis - Add rust-toolchain.toml to unit tests
1 parent 790cdc7 commit 4abc6ff

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/relayer-dependency-analysis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ jobs:
4444
with:
4545
persist-credentials: 'false'
4646

47+
- name: Setup Rust toolchain file
48+
run: cp relayer/rust-toolchain.toml .
49+
4750
- name: Rust setup
48-
uses: dtolnay/rust-toolchain@a54c7afa936fefeb4456b2dd8068152669aa8203 # v1
49-
with:
50-
toolchain: stable
51+
uses: dsherret/rust-toolchain-file@3551321aa44dd44a0393eb3b6bdfbc5d25ecf621 # v1
5152

5253
- name: Install cargo-binstall
5354
uses: cargo-bins/cargo-binstall@84ca29d5c1719e79e23b6af147555a8f4dac79d6 # v1.10.14

.github/workflows/relayer-tests.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848
token: ${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }}
4949
submodules: recursive
5050

51-
- name: Setup Rust
52-
uses: dtolnay/rust-toolchain@a54c7afa936fefeb4456b2dd8068152669aa8203 # v1
53-
with:
54-
toolchain: stable
55-
components: rustfmt
51+
- name: Setup Rust toolchain file
52+
run: cp relayer/rust-toolchain.toml .
53+
54+
- name: Rust setup
55+
uses: dsherret/rust-toolchain-file@3551321aa44dd44a0393eb3b6bdfbc5d25ecf621 # v1
5656

5757
- name: Cache Rust dependencies and build artifacts
5858
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2

0 commit comments

Comments
 (0)