From e44672448809308c81fc9404abec36ecc0c04943 Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Wed, 23 Oct 2024 14:32:16 +0800 Subject: [PATCH] [KYUUBI #6775] Bump Github actions action/cache and actions/dependency-review-action v4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # :mag: Description ## Issue References ๐Ÿ”— This pull request fixes # ## Describe Your Solution ๐Ÿ”ง - as titled ## Types of changes :bookmark: - [ ] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan ๐Ÿงช #### Behavior Without This Pull Request :coffin: #### Behavior With This Pull Request :tada: #### Related Unit Tests --- # Checklist ๐Ÿ“ - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6775 from bowenliang123/gha-cache-v4. Closes #6775 de7b9fdf0 [Bowen Liang] actions/dependency-review-action@v4 c9e41923a [Bowen Liang] actions/cache@v4 Authored-by: Bowen Liang Signed-off-by: Bowen Liang --- .github/actions/cache-engine-archives/action.yaml | 2 +- .github/actions/setup-maven/action.yaml | 2 +- .github/workflows/dep.yml | 2 +- .github/workflows/gluten.yml | 6 +++--- .github/workflows/python.yml | 2 +- .github/workflows/web-ui.yml | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/actions/cache-engine-archives/action.yaml b/.github/actions/cache-engine-archives/action.yaml index 86a9ccafb..c02d2adce 100644 --- a/.github/actions/cache-engine-archives/action.yaml +++ b/.github/actions/cache-engine-archives/action.yaml @@ -21,7 +21,7 @@ runs: using: composite steps: - name: Cache Engine Archives - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/engine-archives key: engine-archives diff --git a/.github/actions/setup-maven/action.yaml b/.github/actions/setup-maven/action.yaml index 0cb4b54c2..baf379ca7 100644 --- a/.github/actions/setup-maven/action.yaml +++ b/.github/actions/setup-maven/action.yaml @@ -21,7 +21,7 @@ runs: using: composite steps: - name: Restore cached Maven - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: build/apache-maven-* key: setup-maven-${{ hashFiles('pom.xml') }} diff --git a/.github/workflows/dep.yml b/.github/workflows/dep.yml index 61e6808f4..1745396f9 100644 --- a/.github/workflows/dep.yml +++ b/.github/workflows/dep.yml @@ -59,6 +59,6 @@ jobs: - name: Check dependency list run: build/dependency.sh - name: Dependency Review - uses: actions/dependency-review-action@v3 + uses: actions/dependency-review-action@v4 with: fail-on-severity: moderate diff --git a/.github/workflows/gluten.yml b/.github/workflows/gluten.yml index fc01f47e0..e572a93d3 100644 --- a/.github/workflows/gluten.yml +++ b/.github/workflows/gluten.yml @@ -53,7 +53,7 @@ jobs: run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT - name: Check gluten cache id: gluten-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: gluten/package/target/ key: gluten_package_${{ steps.date.outputs.date }} @@ -64,7 +64,7 @@ jobs: cd gluten ./dev/buildbundle-veloxbe.sh fi - - uses: actions/cache@v3 + - uses: actions/cache@v4 if: steps.gluten-cache.outputs.cache-hit != 'true' with: path: gluten/package/target/ @@ -98,7 +98,7 @@ jobs: run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT - name: Check gluten cache id: gluten-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: gluten/package/target/ key: gluten_package_${{ steps.date.outputs.date }} diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 0203cd234..d0ea2356b 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -43,7 +43,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Start Testing Containers diff --git a/.github/workflows/web-ui.yml b/.github/workflows/web-ui.yml index d8362137b..6f6e18910 100644 --- a/.github/workflows/web-ui.yml +++ b/.github/workflows/web-ui.yml @@ -41,7 +41,7 @@ jobs: cache: npm cache-dependency-path: ./kyuubi-server/web-ui/package.json - name: Cache NPM dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ./kyuubi-server/web-ui/node_modules key: webui-dependencies-${{ hashFiles('kyuubi-server/web-ui/pnpm-lock.yaml') }}