Skip to content

Commit abc0d29

Browse files
authored
pin toolchain version to 1.81 (#775)
1 parent 44afd93 commit abc0d29

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919
- name: Install Rust
20-
run: rustup update stable
20+
uses: dtolnay/rust-toolchain@master
21+
with:
22+
toolchain: 1.81 # because 1.82 broke tests with main functions in them
2123

2224
- name: Build dependencies
2325
run: RUSTFLAGS="--cfg tokio_unstable" cargo build
@@ -50,7 +52,7 @@ jobs:
5052
- uses: actions/checkout@v4
5153
- uses: actions/setup-node@v4
5254
with:
53-
node-version: '18'
55+
node-version: "18"
5456

5557
- name: Install node dependencies
5658
run: npm install

rust-toolchain.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[toolchain]
2+
# rust 1.82 introduced a breaking change that causes the doc tests to fail
3+
channel = "1.81"

0 commit comments

Comments
 (0)