From 9ad115e477338011c8e0172e35cf315139757ca3 Mon Sep 17 00:00:00 2001 From: Larry Liu Date: Wed, 15 Jan 2025 16:27:49 -0800 Subject: [PATCH] Fix. --- .github/workflows/update-sdk-dependency.yaml | 2 ++ rust/rust-toolchain.toml | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 rust/rust-toolchain.toml diff --git a/.github/workflows/update-sdk-dependency.yaml b/.github/workflows/update-sdk-dependency.yaml index c24d981a..fa57536d 100644 --- a/.github/workflows/update-sdk-dependency.yaml +++ b/.github/workflows/update-sdk-dependency.yaml @@ -34,6 +34,8 @@ jobs: with: secrets: |- token:aptos-ci/github-actions-repository-dispatch + - run: sudo apt-get update && sudo apt-get install build-essential ca-certificates clang curl git libpq-dev libssl-dev pkg-config lsof lld libdw-dev --no-install-recommends --assume-yes + shell: bash - name: Checkout uses: actions/checkout@v4 with: diff --git a/rust/rust-toolchain.toml b/rust/rust-toolchain.toml new file mode 100644 index 00000000..ac4c63cd --- /dev/null +++ b/rust/rust-toolchain.toml @@ -0,0 +1,6 @@ +[toolchain] +channel = "1.78.0" + +# Note: we don't specify cargofmt in our toolchain because we rely on +# the nightly version of cargofmt and verify formatting in CI/CD. +components = ["cargo", "clippy", "rustc", "rust-docs", "rust-std"] \ No newline at end of file