From 37c6df2f36277e575850bdaeefb0e9c54c5373ee Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Mon, 12 Feb 2024 22:18:23 +0000 Subject: [PATCH] Updated github action dependencies. --- .github/workflows/ci.yml | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06dede2..cb1910f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ on: env: CARGO_TERM_COLOR: always # Miri breaks frequently, so we pin it to a specific nightly version. - MIRI_TOOLCHAIN: nightly-2023-09-02 + MIRI_TOOLCHAIN: nightly-2024-02-11 jobs: check: @@ -22,19 +22,17 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] steps: - - name: Install rust - uses: dtolnay/rust-toolchain@stable - with: - components: rustfmt, rust-src - - name: Install miri - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: toolchain: ${{ env.MIRI_TOOLCHAIN }} - override: false - default: false components: miri, rust-src + - name: Install rust + uses: dtolnay/rust-toolchain@stable + with: + components: rustfmt, rust-src + - name: Install cargo plugins run: | cargo install cargo-rdme @@ -42,9 +40,7 @@ jobs: cargo install cargo-criterion - name: Checkout repository - uses: actions/checkout@v3 - with: - fetch-depth: 2 + uses: actions/checkout@v4 - name: Check everything run: bash ./tools/check.sh @@ -64,13 +60,10 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Install cargo plugins - run: | - cargo install cargo-msrv + run: cargo install cargo-msrv - name: Checkout repository - uses: actions/checkout@v3 - with: - fetch-depth: 2 + uses: actions/checkout@v4 - name: Check the minimum supported rust version run: cargo msrv verify