diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 199d7841e..634dd3cc1 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -29,7 +29,7 @@ concurrency: env: TZ: "Asia/Shanghai" # for unit testing cases of some components that only execute on the latest go version. - LATEST_GO_VERSION: "1.23" + LATEST_GO_VERSION: "1.25" jobs: code-test: @@ -40,7 +40,7 @@ jobs: # 1. Update the `LATEST_GO_VERSION` env variable. # 2. Update the `Report Coverage` action. # 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥 - go-version: [ "1.23", "1.24" ] + go-version: [ "1.23", "1.24", "1.25" ] goarch: [ "386", "amd64" ] runs-on: ubuntu-latest @@ -206,7 +206,7 @@ jobs: timezoneLinux: "Asia/Shanghai" - name: Checkout Repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Start Apollo Containers run: docker compose -f ".github/workflows/apollo/docker-compose.yml" up -d --build @@ -227,9 +227,9 @@ jobs: cache-dependency-path: '**/go.sum' - name: Install Protoc - uses: arduino/setup-protoc@v2 + uses: arduino/setup-protoc@v3 with: - version: "29.x" + version: "31.x" repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install the protocol compiler plugins for Go diff --git a/.github/workflows/ci-sub.yml b/.github/workflows/ci-sub.yml index 86b5cad47..012c108b0 100644 --- a/.github/workflows/ci-sub.yml +++ b/.github/workflows/ci-sub.yml @@ -40,7 +40,7 @@ jobs: # When adding new go version to the list, make sure: # 1. Update the `LATEST_GO_VERSION` env variable. # 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥 - go-version: [ "1.23", "1.24" ] + go-version: [ "1.23", "1.24", "1.25" ] goarch: [ "386", "amd64" ] runs-on: ubuntu-latest @@ -52,7 +52,7 @@ jobs: timezoneLinux: "Asia/Shanghai" - name: Checkout Repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Start Minikube uses: medyagh/setup-minikube@master diff --git a/.github/workflows/format-code-on-push.yml b/.github/workflows/format-code-on-push.yml index a9c4f63cc..3cab6ddd8 100644 --- a/.github/workflows/format-code-on-push.yml +++ b/.github/workflows/format-code-on-push.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup Golang ${{ matrix.go-version }} uses: actions/setup-go@v5 with: diff --git a/.github/workflows/gitee-sync.yml b/.github/workflows/gitee-sync.yml index d63fe7d94..058fb9cd5 100644 --- a/.github/workflows/gitee-sync.yml +++ b/.github/workflows/gitee-sync.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Mirror GitHub to Gitee uses: Yikun/hub-mirror-action@v1.4 with: diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 0a3d63d1b..a68baaf8f 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -29,22 +29,21 @@ jobs: golang-ci: strategy: matrix: - go-version: [ "1.22", "1.23", "1.24" ] + go-version: [ "stable" ] name: golang-ci-lint runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup Golang ${{ matrix.go-version }} uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: golang-ci-lint - uses: golangci/golangci-lint-action@v7 + uses: golangci/golangci-lint-action@v8 with: # Required: specify the golangci-lint version without the patch version to always use the latest patch. - version: v2.1.1 only-new-issues: true skip-cache: true github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f9d5a2824..7aa75b201 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,12 +16,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Github Code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set Up Golang Environment uses: actions/setup-go@v5 with: - go-version: 1.24.2 + go-version: 1.25 - name: Build CLI Binary run: | diff --git a/.github/workflows/sonarcloud.yaml b/.github/workflows/sonarcloud.yaml index 8a69bd971..d88af5109 100644 --- a/.github/workflows/sonarcloud.yaml +++ b/.github/workflows/sonarcloud.yaml @@ -17,7 +17,7 @@ permissions: read jobs: analysis: name: Scorecards analysis - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest permissions: # Needed to upload the results to code-scanning dashboard. security-events: write @@ -29,7 +29,7 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: persist-credentials: false diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index cbf828ef2..a368fc7cc 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Github Code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Auto Creating Tags For Contrib Packages run: | diff --git a/.golangci.yml b/.golangci.yml index 1747390ed..a6eac8e49 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,7 +1,7 @@ version: "2" run: concurrency: 4 - go: "1.22" + go: "1.23" modules-download-mode: readonly issues-exit-code: 2 tests: false