]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
ci.yml: Replace actions-rs/toolchain@v1 with dtolnay/rust-toolchain
authorTomas Mraz <tomas@openssl.org>
Mon, 8 Jan 2024 13:13:49 +0000 (14:13 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 23 Jan 2024 17:20:22 +0000 (18:20 +0100)
actions-rs/toolchain is unmaintained and generates warnings

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23232)

.github/workflows/ci.yml

index c125b0684f79bb8297d84b8a53d8acec9c321c2a..85beae7de3a9b862a2ee11232f9cb75c8a9eae37 100644 (file)
@@ -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