From 1c42f823f47893b5d5e55a8f27f9325f43fe94a0 Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Tue, 4 Jun 2024 20:47:24 +0000 Subject: [PATCH] Update workflow to actions/checkout@v4 This fixes a warning about Node 16 being deprecated --- .github/workflows/clippy.yml | 2 +- .github/workflows/rustdoc.yml | 2 +- .github/workflows/rustfmt.yml | 2 +- .github/workflows/test.yml | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index dcea25c5e..58f813bee 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -10,7 +10,7 @@ jobs: clippy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: # embedded-hal-async needs nightly. diff --git a/.github/workflows/rustdoc.yml b/.github/workflows/rustdoc.yml index c4b46425e..105d4e58c 100644 --- a/.github/workflows/rustdoc.yml +++ b/.github/workflows/rustdoc.yml @@ -10,7 +10,7 @@ jobs: clippy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: toolchain: nightly-2023-10-14 diff --git a/.github/workflows/rustfmt.yml b/.github/workflows/rustfmt.yml index 3d9036e69..6a3522c47 100644 --- a/.github/workflows/rustfmt.yml +++ b/.github/workflows/rustfmt.yml @@ -11,7 +11,7 @@ jobs: fmt: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: toolchain: nightly diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 65a228d62..46fb03b26 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,21 +14,21 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - run: cargo test --workspace test-all-features: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - run: cargo test --workspace --all-features build-nostd: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: target: thumbv7m-none-eabi @@ -41,7 +41,7 @@ jobs: msrv-1-60: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@1.60 - run: > cargo test @@ -55,6 +55,6 @@ jobs: msrv-1-75: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@1.75 - run: cargo test --workspace --all-features