Skip to content

Commit

Permalink
pin toolchain version to 1.81 (#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshka authored Oct 18, 2024
1 parent 44afd93 commit abc0d29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.81 # because 1.82 broke tests with main functions in them

- name: Build dependencies
run: RUSTFLAGS="--cfg tokio_unstable" cargo build
Expand Down Expand Up @@ -50,7 +52,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: "18"

- name: Install node dependencies
run: npm install
Expand Down
3 changes: 3 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
# rust 1.82 introduced a breaking change that causes the doc tests to fail
channel = "1.81"

0 comments on commit abc0d29

Please sign in to comment.