From cb5cdf39c65dc529e9bb3c367c8b3a9f726d31be Mon Sep 17 00:00:00 2001 From: Jae-Won Chung Date: Tue, 10 Dec 2024 17:42:17 -0500 Subject: [PATCH] Upgrade actions/cache to V4 --- .github/workflows/check_homepage_build.yaml | 2 +- .github/workflows/deploy_homepage.yaml | 2 +- .github/workflows/zeusd_fmt_lint_test.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check_homepage_build.yaml b/.github/workflows/check_homepage_build.yaml index 30204a70..feab921b 100644 --- a/.github/workflows/check_homepage_build.yaml +++ b/.github/workflows/check_homepage_build.yaml @@ -28,7 +28,7 @@ jobs: python-version: 3.9 cache: 'pip' - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: key: mkdocs-material-${{ env.cache_id }} path: .cache diff --git a/.github/workflows/deploy_homepage.yaml b/.github/workflows/deploy_homepage.yaml index c6d409ab..4254f2dc 100644 --- a/.github/workflows/deploy_homepage.yaml +++ b/.github/workflows/deploy_homepage.yaml @@ -27,7 +27,7 @@ jobs: python-version: 3.9 cache: 'pip' - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: key: mkdocs-material-${{ env.cache_id }} path: .cache diff --git a/.github/workflows/zeusd_fmt_lint_test.yaml b/.github/workflows/zeusd_fmt_lint_test.yaml index 09ac917f..11029498 100644 --- a/.github/workflows/zeusd_fmt_lint_test.yaml +++ b/.github/workflows/zeusd_fmt_lint_test.yaml @@ -29,7 +29,7 @@ jobs: - name: Install the Rust toolchain run: rustup toolchain install stable --profile minimal - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/.cargo/bin/