Skip to content

Commit c85e833

Browse files
committed
chore: add rust-toolchain.toml
1 parent add31fc commit c85e833

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
~/.cargo/registry/cache/
2525
~/.cargo/git/db/
2626
parser/target/
27-
key: ${{ runner.os }}-cargo-v1-${{ hashFiles('**/Cargo.lock') }}
27+
key: ${{ runner.os }}-cargo-v2-${{ hashFiles('**/rust-toolchain.toml') }}-${{ hashFiles('**/Cargo.lock') }}
2828
restore-keys: |
2929
${{ runner.os }}-cargo-
3030

parser/rust-toolchain.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[toolchain]
2+
channel = "1.81.0"
3+
targets = ["wasm32-unknown-unknown"]
4+
components = ["rustfmt", "clippy"]

0 commit comments

Comments
 (0)