This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro-rs.git


The following commit(s) were added to refs/heads/main by this push:
     new 7a13eb1  Use dtolnay/rust-toolchain@stable instead of @nightly
7a13eb1 is described below

commit 7a13eb1ffc4b532ebe387213f87e64efd4c8ab4f
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Mon Apr 7 08:59:01 2025 +0300

    Use dtolnay/rust-toolchain@stable instead of @nightly
    
    Only @stable is allowed at the moment: 
https://github.com/apache/infrastructure-actions/blob/17d920e544156bcbaa6f8a6667606e671f826f3e/actions.yml#L20
    
    Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
---
 .github/workflows/test-lang-rust-ci.yml     | 6 +++---
 .github/workflows/test-lang-rust-clippy.yml | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/test-lang-rust-ci.yml 
b/.github/workflows/test-lang-rust-ci.yml
index efd734f..43171f5 100644
--- a/.github/workflows/test-lang-rust-ci.yml
+++ b/.github/workflows/test-lang-rust-ci.yml
@@ -73,7 +73,7 @@ jobs:
           key: ${{ runner.os }}-${{ matrix.runner.name }}-${{ 
matrix.runner.target }}-${{ matrix.rust }}-cache1-${{ matrix.rust }}-${{ 
hashFiles('**/Cargo.lock') }}
 
       - name: Rust Toolchain
-        uses: dtolnay/rust-toolchain@nightly
+        uses: dtolnay/rust-toolchain@stable
         with:
           toolchain: ${{ matrix.rust }}
           components: rustfmt
@@ -129,7 +129,7 @@ jobs:
           path: main-repo
 
       - name: Rust Toolchain
-        uses: dtolnay/rust-toolchain@nightly
+        uses: dtolnay/rust-toolchain@stable
         with:
           toolchain: stable
 
@@ -228,7 +228,7 @@ jobs:
         uses: actions/checkout@v4
 
       - name: Rust Toolchain
-        uses: dtolnay/rust-toolchain@nightly
+        uses: dtolnay/rust-toolchain@stable
         with:
           toolchain: stable
           targets: wasm32-unknown-unknown
diff --git a/.github/workflows/test-lang-rust-clippy.yml 
b/.github/workflows/test-lang-rust-clippy.yml
index acc3458..12feacc 100644
--- a/.github/workflows/test-lang-rust-clippy.yml
+++ b/.github/workflows/test-lang-rust-clippy.yml
@@ -43,7 +43,7 @@ jobs:
           - '1.74.0'  # MSRV
     steps:
       - uses: actions/checkout@v4
-      - uses: dtolnay/rust-toolchain@nightly
+      - uses: dtolnay/rust-toolchain@stable
         with:
           toolchain: ${{ matrix.rust }}
           components: clippy

Reply via email to