From 5aee3accf53756dc690fba7fcb92fe5eb2e2becb Mon Sep 17 00:00:00 2001 From: Rico Chiu Date: Tue, 5 Nov 2024 16:37:59 -0800 Subject: [PATCH] Update github action version to v4 --- .github/workflows/checkstyle.yml | 8 ++++---- .github/workflows/java8_container_tests.yml | 8 ++++---- .github/workflows/java8_integration_tests.yml | 8 ++++---- .github/workflows/java8_integration_tests_ft.yml | 8 ++++---- .github/workflows/java8_integration_tests_webui.yml | 8 ++++---- .github/workflows/java8_unit_tests.yml | 8 ++++---- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/checkstyle.yml b/.github/workflows/checkstyle.yml index f944c8170539..231718b42ce3 100644 --- a/.github/workflows/checkstyle.yml +++ b/.github/workflows/checkstyle.yml @@ -8,7 +8,7 @@ jobs: steps: - name: checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 @@ -16,7 +16,7 @@ jobs: node-version: '10.11.0' - name: Cache local Maven repository - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -24,7 +24,7 @@ jobs: ${{ runner.os }}-maven- - name: Cache local Go modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }} @@ -40,7 +40,7 @@ jobs: - name: Archive artifacts continue-on-error: true - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: artifact diff --git a/.github/workflows/java8_container_tests.yml b/.github/workflows/java8_container_tests.yml index e6615929fc24..78455e2031bc 100644 --- a/.github/workflows/java8_container_tests.yml +++ b/.github/workflows/java8_container_tests.yml @@ -22,7 +22,7 @@ jobs: steps: - name: checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 @@ -30,13 +30,13 @@ jobs: node-version: '10.11.0' - name: Cache local Maven repository - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-java11-${{ hashFiles('**/pom.xml') }} - name: Cache local Go modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }} @@ -55,7 +55,7 @@ jobs: - name: Archive artifacts continue-on-error: true - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: artifact diff --git a/.github/workflows/java8_integration_tests.yml b/.github/workflows/java8_integration_tests.yml index 6ae55c3af9a8..96197b39fd0d 100644 --- a/.github/workflows/java8_integration_tests.yml +++ b/.github/workflows/java8_integration_tests.yml @@ -33,7 +33,7 @@ jobs: steps: - name: checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 @@ -41,13 +41,13 @@ jobs: node-version: '10.11.0' - name: Cache local Maven repository - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-java11-${{ hashFiles('**/pom.xml') }} - name: Cache local Go modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }} @@ -65,7 +65,7 @@ jobs: - name: Archive artifacts continue-on-error: true - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: artifact diff --git a/.github/workflows/java8_integration_tests_ft.yml b/.github/workflows/java8_integration_tests_ft.yml index afec49a09314..aa5bf97f27b0 100644 --- a/.github/workflows/java8_integration_tests_ft.yml +++ b/.github/workflows/java8_integration_tests_ft.yml @@ -26,7 +26,7 @@ jobs: steps: - name: checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 @@ -34,13 +34,13 @@ jobs: node-version: '10.11.0' - name: Cache local Maven repository - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-java11-${{ hashFiles('**/pom.xml') }} - name: Cache local Go modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }} @@ -60,7 +60,7 @@ jobs: - name: Archive artifacts continue-on-error: true - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: artifact diff --git a/.github/workflows/java8_integration_tests_webui.yml b/.github/workflows/java8_integration_tests_webui.yml index 4276ecd6e8fc..ada5ff1c6919 100644 --- a/.github/workflows/java8_integration_tests_webui.yml +++ b/.github/workflows/java8_integration_tests_webui.yml @@ -24,7 +24,7 @@ jobs: steps: - name: checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 @@ -32,13 +32,13 @@ jobs: node-version: '10.11.0' - name: Cache local Maven repository - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-java11-${{ hashFiles('**/pom.xml') }} - name: Cache local Go modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }} @@ -56,7 +56,7 @@ jobs: - name: Archive artifacts continue-on-error: true - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: artifact diff --git a/.github/workflows/java8_unit_tests.yml b/.github/workflows/java8_unit_tests.yml index 04adccdb0fd0..a69a0f6dc491 100644 --- a/.github/workflows/java8_unit_tests.yml +++ b/.github/workflows/java8_unit_tests.yml @@ -21,7 +21,7 @@ jobs: steps: - name: checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 @@ -29,13 +29,13 @@ jobs: node-version: '10.11.0' - name: Cache local Maven repository - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-java11-${{ hashFiles('**/pom.xml') }} - name: Cache local Go modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }} @@ -53,7 +53,7 @@ jobs: - name: Archive artifacts continue-on-error: true - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: artifact