From d92806063555b7101f3aecf47aff2eb31d169bda Mon Sep 17 00:00:00 2001 From: Marco Date: Sun, 20 Aug 2023 18:26:49 +0200 Subject: [PATCH] Get Rust version from rust-toolchain.toml --- .github/workflows/e2e.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 2465797db4..6bc5f7cb44 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -162,7 +162,6 @@ jobs: strategy: matrix: os: [macos-12, ubuntu-20.04, ubuntu-22.04] - rust: ['1.65.0'] steps: - name: Checking out repo uses: actions/checkout@v3 @@ -178,7 +177,7 @@ jobs: - name: Download dfx binary uses: actions/download-artifact@v3 with: - name: dfx-${{ matrix.os }}-rs-${{ matrix.rust }} + name: dfx-${{ matrix.os }}-rs-${{ hashFiles('rust-toolchain.toml') }} path: /usr/local/bin - name: Setup dfx binary run: chmod +x /usr/local/bin/dfx