From ce5689fbc10da89587161a502e7447f368e45106 Mon Sep 17 00:00:00 2001
From: Lukasz Rubaszewski <117115317+lrubasze@users.noreply.github.com>
Date: Fri, 13 Dec 2024 10:00:44 +0100
Subject: [PATCH 1/2] Update to Rust 1.81

---
 .github/actions/setup-env/action.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.yml
index ab53df4..ecdfceb 100644
--- a/.github/actions/setup-env/action.yml
+++ b/.github/actions/setup-env/action.yml
@@ -7,7 +7,7 @@ runs:
     - name: Install Rust toolchain
       uses: RDXWorks-actions/toolchain@master
       with:
-        toolchain: 1.77.2
+        toolchain: 1.81.0
         default: true
         target: wasm32-unknown-unknown
         components: rustfmt

From 8d5ec57162fb0a229e07854a6ae4744afe440b1c Mon Sep 17 00:00:00 2001
From: Lukasz Rubaszewski <117115317+lrubasze@users.noreply.github.com>
Date: Fri, 13 Dec 2024 10:04:07 +0100
Subject: [PATCH 2/2] Pin nextest to 0.9.85

see https://github.com/radixdlt/radixdlt-scrypto/pull/2030
---
 .github/actions/setup-env/action.yml | 4 +++-
 .github/workflows/ci.yml             | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.yml
index ecdfceb..221eed6 100644
--- a/.github/actions/setup-env/action.yml
+++ b/.github/actions/setup-env/action.yml
@@ -13,7 +13,9 @@ runs:
         components: rustfmt
 
     - name: Install nextest
-      uses: RDXWorks-actions/install-action@nextest
+      uses: RDXWorks-actions/install-action@main
+      with:
+        tool: nextest@0.9.85
 
     - name: Set LIBCLANG_PATH # See https://github.com/rust-lang/rust-bindgen/issues/1797
       if: runner.os == 'Windows'
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index be8c733..e85516a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -8,6 +8,9 @@ on:
 
 env:
   CARGO_TERM_COLOR: always
+  # Produce a warning and exit with code 0 if no tests to run
+  # (nextest returns error by default since version 0.9.85)
+  NEXTEST_NO_TESTS: warn
 
 concurrency:
   group: ci-${{ github.ref }}