Skip to content

Commit

Permalink
fix(ci): update rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
Karrq committed Oct 7, 2024
1 parent baf3004 commit 8150bbb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ concurrency:

env:
CARGO_TERM_COLOR: always
TARGET_RUST_VERSION: "nightly-2024-07-19"

jobs:
doctest:
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 8150bbb

Please sign in to comment.