From 667c8d47b96cd7ee2e30b0ae329779153e0dc4f4 Mon Sep 17 00:00:00 2001 From: Dirk Stolle Date: Sun, 31 Dec 2023 23:03:39 +0100 Subject: [PATCH] update GitHub Actions CI The following updates are performed: * update actions/checkout to v4 * replace unmaintained actions-rs/toolchain by dtolnay/rust-toolchain --- .github/workflows/rust.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 519b70f..beaf47f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,12 +16,9 @@ jobs: RUSTFLAGS: -D warnings steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install latest nightly - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - override: true + uses: dtolnay/rust-toolchain@nightly - name: Install hdf5 libraries run: | sudo apt-get update @@ -43,12 +40,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install latest nightly - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@nightly with: - override: true - toolchain: nightly components: clippy - name: Install hdf5 libraries run: | @@ -65,12 +60,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install latest nightly - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@nightly with: - override: true - toolchain: nightly components: rustfmt - name: Run rustfmt run: cargo fmt -- --check