From 2ba196e3efd43bc80d9c274fb0cfe56a28357771 Mon Sep 17 00:00:00 2001 From: Daniel Szoke Date: Tue, 15 Jul 2025 14:40:29 +0200 Subject: [PATCH] ci: User-friendly name for `rust-cache` action --- .github/workflows/lint.yml | 3 ++- .github/workflows/test.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a4067a3d20..4103ca28ff 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -37,7 +37,8 @@ jobs: - name: Install Rust Toolchain run: rustup toolchain install stable --profile minimal --component clippy --component rustfmt --no-self-update - - uses: swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0 + - name: Cache Dependencies + uses: swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0 - name: Run Rustfmt run: cargo fmt --all -- --check diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c25e49078f..10bcd28d4c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,8 @@ jobs: steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - - uses: swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0 + - name: Cache Dependencies + uses: swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0 with: key: ${{ github.job }}