From e7d66f691f5f8b40cb715f8fab7239a1fc05e850 Mon Sep 17 00:00:00 2001 From: jiaomh <168526697+Jiaohm@users.noreply.github.com> Date: Tue, 23 Jul 2024 11:48:44 +0800 Subject: [PATCH] chore: Update multiple dependencies to the latest version (#1143) --- .github/workflows/build-and-test-plugin.yaml | 14 ++++---- .github/workflows/build-and-test.yaml | 30 ++++++++-------- .github/workflows/build-image-and-push.yaml | 36 +++++++++---------- .github/workflows/codeql-analysis.yaml | 8 ++--- .../workflows/deploy-standalone-to-oss.yaml | 2 +- .github/workflows/deploy-to-oss.yaml | 2 +- .github/workflows/latest-release.yaml | 4 +-- .github/workflows/license-checker.yaml | 4 +-- .github/workflows/release-hgctl.yaml | 6 ++-- 9 files changed, 53 insertions(+), 53 deletions(-) diff --git a/.github/workflows/build-and-test-plugin.yaml b/.github/workflows/build-and-test-plugin.yaml index eb5f1610e..7c4c13a97 100644 --- a/.github/workflows/build-and-test-plugin.yaml +++ b/.github/workflows/build-and-test-plugin.yaml @@ -17,8 +17,8 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: 1.19 # There are too many lint errors in current code bases @@ -32,7 +32,7 @@ jobs: # TODO(Xunzhuo): Enable C WASM Filters in CI wasmPluginType: [ GO, RUST ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Free Up GitHub Actions Ubuntu Runner Disk Space 🔧 uses: jlumbroso/free-disk-space@main @@ -45,12 +45,12 @@ jobs: swap-storage: true - name: "Setup Go" - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.19 - name: Setup Golang Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- ~/.cache/go-build @@ -60,7 +60,7 @@ jobs: ${{ runner.os }}-go - name: Setup Submodule Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- .git/modules @@ -81,4 +81,4 @@ jobs: runs-on: ubuntu-latest needs: [ higress-wasmplugin-test ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 44e42b7c2..6e38c038b 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -10,8 +10,8 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: 1.19 # There are too many lint errors in current code bases @@ -21,10 +21,10 @@ jobs: coverage-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Golang Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- ~/.cache/go-build @@ -33,7 +33,7 @@ jobs: restore-keys: ${{ runner.os }}-go - name: Setup Submodule Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- .git/modules @@ -46,7 +46,7 @@ jobs: - name: Run Coverage Tests run: GOPROXY="https://proxy.golang.org,direct" make go.test.coverage - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: false files: ./coverage.xml @@ -58,17 +58,17 @@ jobs: needs: [lint,coverage-test] steps: - name: "Checkout ${{ github.ref }}" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 2 - name: "Setup Go" - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.19 - name: Setup Golang Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- ~/.cache/go-build @@ -77,7 +77,7 @@ jobs: restore-keys: ${{ runner.os }}-go - name: Setup Submodule Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- .git/modules @@ -90,7 +90,7 @@ jobs: run: GOPROXY="https://proxy.golang.org,direct" make build - name: Upload Higress Binary - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: higress path: out/ @@ -108,12 +108,12 @@ jobs: - uses: actions/checkout@v3 - name: "Setup Go" - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.19 - name: Setup Golang Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- ~/.cache/go-build @@ -123,7 +123,7 @@ jobs: ${{ runner.os }}-go - name: Setup Submodule Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- .git/modules @@ -139,4 +139,4 @@ jobs: runs-on: ubuntu-latest needs: [higress-conformance-test,gateway-conformance-test] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 diff --git a/.github/workflows/build-image-and-push.yaml b/.github/workflows/build-image-and-push.yaml index 3eb1109e0..70d023201 100644 --- a/.github/workflows/build-image-and-push.yaml +++ b/.github/workflows/build-image-and-push.yaml @@ -16,7 +16,7 @@ jobs: CONTROLLER_IMAGE_NAME: ${{ vars.CONTROLLER_IMAGE_NAME || 'higress/higress' }} steps: - name: "Checkout ${{ github.ref }}" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 @@ -31,12 +31,12 @@ jobs: swap-storage: true - name: "Setup Go" - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.19 - name: Setup Golang Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- ~/.cache/go-build @@ -45,7 +45,7 @@ jobs: restore-keys: ${{ runner.os }}-go - name: Setup Submodule Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- envoy @@ -56,7 +56,7 @@ jobs: - name: Calculate Docker metadata id: docker-meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ${{ env.CONTROLLER_IMAGE_REGISTRY }}/${{ env.CONTROLLER_IMAGE_NAME }} @@ -67,7 +67,7 @@ jobs: type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} - name: Login to Docker Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.CONTROLLER_IMAGE_REGISTRY }} username: ${{ secrets.REGISTRY_USERNAME }} @@ -92,7 +92,7 @@ jobs: PILOT_IMAGE_NAME: ${{ vars.PILOT_IMAGE_NAME || 'higress/pilot' }} steps: - name: "Checkout ${{ github.ref }}" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 @@ -107,12 +107,12 @@ jobs: swap-storage: true - name: "Setup Go" - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.19 - name: Setup Golang Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- ~/.cache/go-build @@ -121,7 +121,7 @@ jobs: restore-keys: ${{ runner.os }}-go - name: Setup Submodule Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- envoy @@ -132,7 +132,7 @@ jobs: - name: Calculate Docker metadata id: docker-meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ${{ env.PILOT_IMAGE_REGISTRY }}/${{ env.PILOT_IMAGE_NAME }} @@ -143,7 +143,7 @@ jobs: type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} - name: Login to Docker Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.PILOT_IMAGE_REGISTRY }} username: ${{ secrets.REGISTRY_USERNAME }} @@ -169,7 +169,7 @@ jobs: GATEWAY_IMAGE_NAME: ${{ vars.GATEWAY_IMAGE_NAME || 'higress/gateway' }} steps: - name: "Checkout ${{ github.ref }}" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 @@ -184,12 +184,12 @@ jobs: swap-storage: true - name: "Setup Go" - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.19 - name: Setup Golang Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- ~/.cache/go-build @@ -198,7 +198,7 @@ jobs: restore-keys: ${{ runner.os }}-go - name: Setup Submodule Caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: |- envoy @@ -209,7 +209,7 @@ jobs: - name: Calculate Docker metadata id: docker-meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ${{ env.GATEWAY_IMAGE_REGISTRY }}/${{ env.GATEWAY_IMAGE_NAME }} @@ -220,7 +220,7 @@ jobs: type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} - name: Login to Docker Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.GATEWAY_IMAGE_REGISTRY }} username: ${{ secrets.REGISTRY_USERNAME }} diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index cb4e108f3..8dcadde40 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -34,11 +34,11 @@ jobs: steps: # step 1 - name: "Checkout repository" - uses: actions/checkout@v2 + uses: actions/checkout@v4 # step 2: Initializes the CodeQL tools for scanning. - name: "Initialize CodeQL" - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -50,7 +50,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: "Autobuild" - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # step 4 # ℹ️ Command-line programs to run using the OS shell. @@ -66,4 +66,4 @@ jobs: # step 5 - name: "Perform CodeQL Analysis" - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/deploy-standalone-to-oss.yaml b/.github/workflows/deploy-standalone-to-oss.yaml index 13b8022d6..f4763b5ee 100644 --- a/.github/workflows/deploy-standalone-to-oss.yaml +++ b/.github/workflows/deploy-standalone-to-oss.yaml @@ -14,7 +14,7 @@ jobs: steps: # Step 1 - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Step 2 - id: package name: Prepare Standalone Package diff --git a/.github/workflows/deploy-to-oss.yaml b/.github/workflows/deploy-to-oss.yaml index cff8232e8..7bbf535de 100644 --- a/.github/workflows/deploy-to-oss.yaml +++ b/.github/workflows/deploy-to-oss.yaml @@ -14,7 +14,7 @@ jobs: steps: # Step 1 - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Step 2 - name: Download Helm Charts Index uses: doggycool/ossutil-github-action@master diff --git a/.github/workflows/latest-release.yaml b/.github/workflows/latest-release.yaml index a4e63ec1b..5bdc75372 100644 --- a/.github/workflows/latest-release.yaml +++ b/.github/workflows/latest-release.yaml @@ -9,7 +9,7 @@ jobs: latest-release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build hgctl latest multiarch binaries run: | @@ -46,7 +46,7 @@ jobs: GITHUB_REPOSITORY: ${{ github.repository_owner }}/${{ github.event.repository.name }} - name: Recreate the Latest Release and Tag - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: draft: false prerelease: true diff --git a/.github/workflows/license-checker.yaml b/.github/workflows/license-checker.yaml index 628c92f1b..82a5ceb24 100644 --- a/.github/workflows/license-checker.yaml +++ b/.github/workflows/license-checker.yaml @@ -10,7 +10,7 @@ jobs: steps: # step 1 - name: Checkout - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v4 # step 2 - name: Check License Header uses: apache/skywalking-eyes/header@25edfc2fd8d52fb266653fb5f6c42da633d85c07 @@ -24,4 +24,4 @@ jobs: with: log: info config: .licenserc.yaml - mode: check \ No newline at end of file + mode: check diff --git a/.github/workflows/release-hgctl.yaml b/.github/workflows/release-hgctl.yaml index 3af41dd49..d9925ede4 100644 --- a/.github/workflows/release-hgctl.yaml +++ b/.github/workflows/release-hgctl.yaml @@ -12,7 +12,7 @@ jobs: env: HGCTL_VERSION: ${{github.ref_name}} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build hgctl latest multiarch binaries run: | @@ -25,7 +25,7 @@ jobs: zip -q -r hgctl_${{ env.HGCTL_VERSION }}_windows_arm64.zip out/windows_arm64/ - name: Upload hgctl packages to the GitHub release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: | @@ -34,4 +34,4 @@ jobs: hgctl_${{ env.HGCTL_VERSION }}_darwin_amd64.tar.gz hgctl_${{ env.HGCTL_VERSION }}_darwin_arm64.tar.gz hgctl_${{ env.HGCTL_VERSION }}_windows_amd64.zip - hgctl_${{ env.HGCTL_VERSION }}_windows_arm64.zip \ No newline at end of file + hgctl_${{ env.HGCTL_VERSION }}_windows_arm64.zip