diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 7eeb176254..50afb90002 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -22,7 +22,7 @@ on: push: branches: [ master ] pull_request: - type: [review_requested, ready_for_review] + types: [review_requested, ready_for_review] # The branches below must be a subset of the branches above branches: - master @@ -37,7 +37,7 @@ jobs: go: ${{ steps.filter.outputs.go }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -66,11 +66,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # 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. @@ -81,7 +81,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 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -95,4 +95,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 5e3967cf22..09be2960cc 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -22,7 +22,7 @@ on: branches: - master - 1.7.0 - type: [review_requested, ready_for_review] + types: [review_requested, ready_for_review] permissions: contents: read @@ -32,6 +32,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 'Dependency Review' - uses: actions/dependency-review-action@v1 + uses: actions/dependency-review-action@v3 diff --git a/.github/workflows/e2e-test-ci-v2-cron-dev.yml b/.github/workflows/e2e-test-ci-v2-cron-dev.yml index 2d57c2e8c9..dd00a7b4e5 100644 --- a/.github/workflows/e2e-test-ci-v2-cron-dev.yml +++ b/.github/workflows/e2e-test-ci-v2-cron-dev.yml @@ -39,7 +39,7 @@ jobs: go: ${{ steps.filter.outputs.go }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -71,20 +71,20 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 # v3.0.2 + uses: actions/checkout@v4 - name: Setup Go Env id: go - uses: actions/setup-go@v3 # v3.2.0 + uses: actions/setup-go@v4 with: - go-version: '1.19' + go-version: '1.20' - name: Set up QEMU - uses: docker/setup-qemu-action@v2 #v2.0.0 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 # v2.0.0 + uses: docker/setup-buildx-action@v3 with: version: latest @@ -117,7 +117,7 @@ jobs: | pigz > docker-dev.tar.gz - name: cache - uses: actions/upload-artifact@v3 # v3.1.0 + uses: actions/upload-artifact@v3 with: name: docker-dev.tar.gz path: docker-dev.tar.gz @@ -127,7 +127,7 @@ jobs: if: needs.changes.outputs.go == 'true' runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive @@ -155,13 +155,13 @@ jobs: suite: ${{ fromJson(needs.prepare.outputs.matrix) }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive - name: Setup Go Env - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: "1.19" + go-version: "1.20" - name: Install ginkgo run: | @@ -169,7 +169,7 @@ jobs: sudo cp ~/go/bin/ginkgo /usr/local/bin - name: cache - uses: actions/download-artifact@v3 # v3 + uses: actions/download-artifact@v3 with: name: docker-dev.tar.gz diff --git a/.github/workflows/e2e-test-ci-v2-cron.yml b/.github/workflows/e2e-test-ci-v2-cron.yml index 0fb420f7b2..5ba2858736 100644 --- a/.github/workflows/e2e-test-ci-v2-cron.yml +++ b/.github/workflows/e2e-test-ci-v2-cron.yml @@ -40,7 +40,7 @@ jobs: go: ${{ steps.filter.outputs.go }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -72,20 +72,20 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 # v3.0.2 + uses: actions/checkout@v4 - name: Setup Go Env id: go - uses: actions/setup-go@v3 # v3.2.0 + uses: actions/setup-go@v4 with: go-version: '1.20' - name: Set up QEMU - uses: docker/setup-qemu-action@v2 #v2.0.0 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 # v2.0.0 + uses: docker/setup-buildx-action@v3 with: version: latest @@ -118,7 +118,7 @@ jobs: | pigz > docker-v2.tar.gz - name: cache - uses: actions/upload-artifact@v3 # v3.1.0 + uses: actions/upload-artifact@v3 with: name: docker-v2.tar.gz path: docker-v2.tar.gz @@ -128,7 +128,7 @@ jobs: if: needs.changes.outputs.go == 'true' runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive @@ -156,11 +156,11 @@ jobs: suite: ${{ fromJson(needs.prepare.outputs.matrix) }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive - name: Setup Go Env - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: "1.20" @@ -170,7 +170,7 @@ jobs: sudo cp ~/go/bin/ginkgo /usr/local/bin - name: cache - uses: actions/download-artifact@v3 # v3 + uses: actions/download-artifact@v3 with: name: docker-v2.tar.gz diff --git a/.github/workflows/e2e-test-ci.yml b/.github/workflows/e2e-test-ci.yml index 75129745a4..b5347dd1b6 100644 --- a/.github/workflows/e2e-test-ci.yml +++ b/.github/workflows/e2e-test-ci.yml @@ -26,7 +26,7 @@ on: branches: - master - 1.7.0 - type: [review_requested, ready_for_review] + types: [review_requested, ready_for_review] concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -40,7 +40,7 @@ jobs: go: ${{ steps.filter.outputs.go }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -72,20 +72,20 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 # v3.0.2 + uses: actions/checkout@v4 - name: Setup Go Env id: go - uses: actions/setup-go@v3 # v3.2.0 + uses: actions/setup-go@v4 with: go-version: '1.20' - name: Set up QEMU - uses: docker/setup-qemu-action@v2 #v2.0.0 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 # v2.0.0 + uses: docker/setup-buildx-action@v3 with: version: latest @@ -119,7 +119,7 @@ jobs: | pigz > docker.tar.gz - name: cache - uses: actions/upload-artifact@v3 # v3.1.0 + uses: actions/upload-artifact@v3 with: name: docker.tar.gz path: docker.tar.gz @@ -129,7 +129,7 @@ jobs: if: needs.changes.outputs.go == 'true' runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive @@ -159,11 +159,11 @@ jobs: enabled-etcdserver: [ true, false ] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive - name: Setup Go Env - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: "1.20" @@ -173,7 +173,7 @@ jobs: sudo cp ~/go/bin/ginkgo /usr/local/bin - name: cache - uses: actions/download-artifact@v3 # v3 + uses: actions/download-artifact@v3 with: name: docker.tar.gz diff --git a/.github/workflows/goimports-reviser.yml b/.github/workflows/goimports-reviser.yml index de43558e54..8a7245009d 100644 --- a/.github/workflows/goimports-reviser.yml +++ b/.github/workflows/goimports-reviser.yml @@ -26,7 +26,7 @@ on: branches: - master - 1.7.0 - type: [review_requested, ready_for_review] + types: [review_requested, ready_for_review] jobs: changes: runs-on: ubuntu-latest @@ -35,7 +35,7 @@ jobs: go: ${{ steps.filter.outputs.go }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -64,9 +64,9 @@ jobs: (needs.changes.outputs.go == 'true') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Go Env - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: "1.20" - name: Make update-gofmt diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 8531badacd..b9ccc380e8 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -26,7 +26,7 @@ on: branches: - master - 1.7.0 - type: [review_requested, ready_for_review] + types: [review_requested, ready_for_review] jobs: changes: @@ -36,7 +36,7 @@ jobs: go: ${{ steps.filter.outputs.go }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -66,9 +66,9 @@ jobs: (needs.changes.outputs.go == 'true') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Go Env - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: '1.20' diff --git a/.github/workflows/k8s-timer-ci.yml b/.github/workflows/k8s-timer-ci.yml index d4abeb2bfa..ae511673a2 100644 --- a/.github/workflows/k8s-timer-ci.yml +++ b/.github/workflows/k8s-timer-ci.yml @@ -32,7 +32,7 @@ jobs: go: ${{ steps.filter.outputs.go }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -62,20 +62,20 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 # v3.0.2 + uses: actions/checkout@v4 - name: Setup Go Env id: go - uses: actions/setup-go@v3 # v3.2.0 + uses: actions/setup-go@v4 with: go-version: '1.20' - name: Set up QEMU - uses: docker/setup-qemu-action@v2 #v2.0.0 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 # v2.0.0 + uses: docker/setup-buildx-action@v3 with: version: latest @@ -107,7 +107,7 @@ jobs: | pigz > docker.tar.gz - name: cache - uses: actions/upload-artifact@v3 # v3.1.0 + uses: actions/upload-artifact@v3 with: name: docker.tar.gz path: docker.tar.gz @@ -117,7 +117,7 @@ jobs: if: needs.changes.outputs.go == 'true' runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive @@ -139,12 +139,12 @@ jobs: - v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive - name: Setup Go Env - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: "1.20" @@ -154,7 +154,7 @@ jobs: sudo cp ~/go/bin/ginkgo /usr/local/bin - name: cache - uses: actions/download-artifact@v3 # v3 + uses: actions/download-artifact@v3 with: name: docker.tar.gz diff --git a/.github/workflows/license-checker.yml b/.github/workflows/license-checker.yml index 6ddcab9e04..e74610b377 100644 --- a/.github/workflows/license-checker.yml +++ b/.github/workflows/license-checker.yml @@ -26,15 +26,15 @@ on: branches: - master - 1.7.0 - type: [review_requested, ready_for_review] + types: [review_requested, ready_for_review] jobs: check-license: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check License Header - uses: apache/skywalking-eyes@v0.4.0 + uses: apache/skywalking-eyes@v0.5.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/lint-checker.yml b/.github/workflows/lint-checker.yml index b03e3ffcd2..aaf0909acf 100644 --- a/.github/workflows/lint-checker.yml +++ b/.github/workflows/lint-checker.yml @@ -26,7 +26,7 @@ on: branches: - master - 1.7.0 - type: [review_requested, ready_for_review] + types: [review_requested, ready_for_review] jobs: changes: runs-on: ubuntu-latest @@ -35,7 +35,7 @@ jobs: go: ${{ steps.filter.outputs.go }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -65,9 +65,9 @@ jobs: (needs.changes.outputs.go == 'true') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Go Env - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: '1.20' - name: run gofmt @@ -86,12 +86,12 @@ jobs: name: 🍇 Markdown runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: 🚀 Use Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: '12.x' - - run: npm install -g markdownlint-cli@0.32.2 + - run: npm install -g markdownlint-cli@0.36.0 - run: markdownlint '**/*.md' --ignore node_modules --ignore CHANGELOG.md --ignore docs/en/latest/references/v2.md markdown-link-check: needs: changes @@ -100,7 +100,7 @@ jobs: runs-on: ubuntu-latest name: Check Markdown links steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - uses: ./.github/actions/markdown-link-check diff --git a/.github/workflows/spell-checker.yml b/.github/workflows/spell-checker.yml index b88cf127a8..a47bd5cf37 100644 --- a/.github/workflows/spell-checker.yml +++ b/.github/workflows/spell-checker.yml @@ -25,14 +25,14 @@ on: branches: - master - 1.7.0 - type: [review_requested, ready_for_review] + types: [review_requested, ready_for_review] jobs: misspell: name: runner / misspell runs-on: ubuntu-latest steps: - name: Check out code. - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Install run: | wget -O - -q https://git.io/misspell | sh -s -- -b . diff --git a/.github/workflows/unit-test-ci.yml b/.github/workflows/unit-test-ci.yml index c19b984190..a097ed2edd 100644 --- a/.github/workflows/unit-test-ci.yml +++ b/.github/workflows/unit-test-ci.yml @@ -26,7 +26,7 @@ on: branches: - master - 1.7.0 - type: [review_requested, ready_for_review] + types: [review_requested, ready_for_review] jobs: changes: runs-on: ubuntu-latest @@ -35,7 +35,7 @@ jobs: go: ${{ steps.filter.outputs.go }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -65,9 +65,9 @@ jobs: (needs.changes.outputs.go == 'true') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Go Env - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: "1.20" - name: Run unit test diff --git a/.github/workflows/verify-codegen.yml b/.github/workflows/verify-codegen.yml index c48a717e6e..9079195ca8 100644 --- a/.github/workflows/verify-codegen.yml +++ b/.github/workflows/verify-codegen.yml @@ -26,7 +26,7 @@ on: branches: - master - 1.7.0 - type: [review_requested, ready_for_review] + types: [review_requested, ready_for_review] jobs: changes: runs-on: ubuntu-latest @@ -35,7 +35,7 @@ jobs: go: ${{ steps.filter.outputs.go }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -64,9 +64,9 @@ jobs: (needs.changes.outputs.go == 'true') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Go Env - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: "1.20" - name: Make verify-codegen diff --git a/.github/workflows/yamllint-checker.yml b/.github/workflows/yamllint-checker.yml index 13a7e0c4aa..27ec3c3924 100644 --- a/.github/workflows/yamllint-checker.yml +++ b/.github/workflows/yamllint-checker.yml @@ -26,7 +26,7 @@ on: branches: - master - 1.7.0 - type: [review_requested, ready_for_review] + types: [review_requested, ready_for_review] jobs: changes: runs-on: ubuntu-latest @@ -34,7 +34,7 @@ jobs: yaml: ${{ steps.filter.outputs.yaml }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -52,7 +52,7 @@ jobs: (needs.changes.outputs.yaml == 'true') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.10'