From cd5911a6b300453eefb4b6d9d797c9d1cdefb956 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Mon, 8 Jan 2024 14:13:49 +0100 Subject: [PATCH] ci.yml: Replace actions-rs/toolchain@v1 with dtolnay/rust-toolchain actions-rs/toolchain is unmaintained and generates warnings Reviewed-by: Shane Lontis Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/23232) --- .github/workflows/ci.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c125b0684f79b..85beae7de3a9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -488,12 +488,9 @@ jobs: uses: actions/setup-python@v5.0.0 with: python-version: ${{ matrix.PYTHON }} - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal toolchain: ${{ matrix.RUST }} - override: true - default: true - name: get cpu info run: | cat /proc/cpuinfo @@ -511,11 +508,7 @@ jobs: run: ./config --banner=Configured --strict-warnings enable-external-tests && perl configdata.pm --dump - name: make run: make -s -j4 - - uses: actions-rs/toolchain@v1 - with: - profile: default - toolchain: stable - default: true + - uses: dtolnay/rust-toolchain@stable - name: get cpu info run: | cat /proc/cpuinfo