diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a07c2f7..06bc6f0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,10 +26,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.toolchain }} + - name: Rust Toolchain + run: | + rustup toolchain install ${{ matrix.toolchain }} --profile minimal --no-self-update + rustup default ${{ matrix.toolchain }} - name: Install vcpkg packages if: matrix.os == 'windows-latest' @@ -43,17 +43,12 @@ jobs: - name: Set vcpkg env shell: bash - id: set-vcpkg-env if: matrix.os == 'windows-latest' - run: | - echo "SODIUM_LIB_DIR=\"$(pwd)\\vcpkg\\packages\\libsodium_x64-windows-release\\lib\"" >> "$GITHUB_ENV" - echo "SODIUM_LIB_DIR=\"$(pwd)\\vcpkg\\packages\\libsodium_x64-windows-release\\lib\"" >> "$GITHUB_OUTPUT" + run: echo "SODIUM_LIB_DIR=\"$HOME\\vcpkg\\packages\\libsodium_x64-windows-release\\lib\"" >> "$GITHUB_ENV" - name: Install lair-keystore-0.4.4 for fwd compat test shell: bash run: | - echo "FROM ENV: $SODIUM_LIB_DIR" - echo "FROM OUTPUT: ${{ steps.set-vcpkg-env.output.SODIUM_LIB_DIR }}" cargo install lair_keystore@0.4.4 --debug mv $(which lair-keystore){,-0.4.4}