From 886d03935c7fc2fef932b00b851c542019b99256 Mon Sep 17 00:00:00 2001 From: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Date: Wed, 2 Oct 2024 17:11:35 +0200 Subject: [PATCH] bump rust to `1.81` (#1458) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To be able to work with reth at the rpc level and don't have any rust conflicting version, we should rely on last stable (1.81), as per the minimal supported version of reth: https://github.com/paradigmxyz/reth/blob/e2f35ce6df14bb67c19f4f1f7e8f6dde6f1bdffd/Cargo.toml#L4 - - - This change is [Reviewable](https://reviewable.io/reviews/kkrt-labs/kakarot/1458) --- .github/workflows/ci.yml | 9 +++++++-- rust-toolchain | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3f65f0b1..0209316b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,7 @@ jobs: solidity: ${{ steps.filter.outputs.solidity }} tests: ${{ steps.filter.outputs.tests }} makefile: ${{ steps.filter.outputs.makefile }} + rust: ${{ steps.filter.outputs.rust }} steps: - uses: actions/checkout@v4 - uses: dorny/paths-filter@v3 @@ -40,6 +41,8 @@ jobs: - 'tests/**' makefile: - 'Makefile' + rust: + - 'rust-toolchain' build: runs-on: ubuntu-latest @@ -47,7 +50,8 @@ jobs: if: needs.paths-filter.outputs.src == 'true' || needs.paths-filter.outputs.kakarot_scripts == 'true' || - needs.paths-filter.outputs.makefile == 'true' + needs.paths-filter.outputs.makefile == 'true' || + needs.paths-filter.outputs.rust == 'true' steps: - uses: actions/checkout@v4 - uses: astral-sh/setup-uv@v2 @@ -110,7 +114,8 @@ jobs: needs.paths-filter.outputs.kakarot_scripts == 'true' || needs.paths-filter.outputs.solidity == 'true' || needs.paths-filter.outputs.tests == 'true' || - needs.paths-filter.outputs.makefile == 'true' + needs.paths-filter.outputs.makefile == 'true' || + needs.paths-filter.outputs.rust == 'true' steps: - uses: actions/checkout@v4 - name: Extract Katana Version diff --git a/rust-toolchain b/rust-toolchain index aaceec04e..dbd41264a 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -1.80.0 +1.81.0