Skip to content

Commit 37d73df

Browse files
committed
Fix CI to actually run rust stable and MSRV
1 parent 28ee8aa commit 37d73df

4 files changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/ldk-node-integration-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
with:
4242
repository: lightningdevkit/ldk-node
4343
path: ldk-node
44+
- name: Install Rust toolchain
45+
run: |
46+
rustup toolchain install ${{ matrix.toolchain }} --profile minimal
47+
rustup default ${{ matrix.toolchain }}
4448
4549
- name: Build and Deploy VSS Server
4650
run: |

.github/workflows/ping-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@ jobs:
3434
steps:
3535
- name: Checkout code
3636
uses: actions/checkout@v3
37+
- name: Install Rust toolchain
38+
run: |
39+
rustup toolchain install ${{ matrix.toolchain }} --profile minimal --component rustfmt
40+
rustup default ${{ matrix.toolchain }}
3741
- name: Check formatting
38-
run: rustup component add rustfmt && cd rust && cargo fmt --all -- --check
42+
run: cd rust && cargo fmt --all -- --check
3943
- name: Build and Deploy VSS Server
4044
run: |
4145
cd rust

.github/workflows/postgres-backend-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
uses: actions/checkout@v3
3737
with:
3838
path: vss-server
39+
- name: Install Rust toolchain
40+
run: |
41+
rustup toolchain install ${{ matrix.toolchain }} --profile minimal
42+
rustup default ${{ matrix.toolchain }}
3943
4044
- name: Run postgres backend test suite
4145
run: |

.github/workflows/server-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ jobs:
3434
steps:
3535
- name: Checkout code
3636
uses: actions/checkout@v3
37+
- name: Install Rust toolchain
38+
run: |
39+
rustup toolchain install ${{ matrix.toolchain }} --profile minimal
40+
rustup default ${{ matrix.toolchain }}
3741
- name: Build and Deploy VSS Server
3842
run: |
3943
cd rust

0 commit comments

Comments
 (0)