From 8150bbb07f6c6f386c3a3b07be69e2cf8079a28e Mon Sep 17 00:00:00 2001 From: Francesco Dainese Date: Mon, 7 Oct 2024 20:10:00 -0300 Subject: [PATCH] fix(ci): update rust version --- .github/workflows/test.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7c9acf9ff..2ed60a6c3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,6 +14,7 @@ concurrency: env: CARGO_TERM_COLOR: always + TARGET_RUST_VERSION: "nightly-2024-07-19" jobs: doctest: @@ -23,7 +24,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly with: - toolchain: nightly-2024-04-28 + toolchain: ${{ env.TARGET_RUST_VERSION }} - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true @@ -51,7 +52,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly with: - toolchain: nightly-2024-04-28 + toolchain: ${{ env.TARGET_RUST_VERSION }} components: rustfmt - run: cargo fmt --all --check @@ -62,7 +63,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly with: - toolchain: nightly-2024-04-28 + toolchain: ${{ env.TARGET_RUST_VERSION }} - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true @@ -77,7 +78,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly with: - toolchain: nightly-2024-04-28 + toolchain: ${{ env.TARGET_RUST_VERSION }} - uses: taiki-e/install-action@cargo-hack - uses: Swatinem/rust-cache@v2 with: @@ -98,7 +99,7 @@ jobs: - name: Install Rust uses: actions-rust-lang/setup-rust-toolchain@v1 with: - toolchain: nightly-2024-04-28 + toolchain: ${{ env.TARGET_RUST_VERSION }} - name: Run era-test-node uses: dutterbutter/era-test-node-action@v1