diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 5a3f83ec6bf..5c8bf6c6b5d 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -176,7 +176,7 @@ jobs: strategy: matrix: - go-version: [ "1.18", "1.19", "1.20", "1.21" ] + go-version: [ "1.18", "1.19", "1.20", "1.21", "1.22" ] goarch: [ "386", "amd64" ] steps: @@ -202,7 +202,7 @@ jobs: run: docker-compose -f ".github/workflows/consul/docker-compose.yml" up -d --build - name: Setup Golang ${{ matrix.go-version }} - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} cache-dependency-path: '**/go.sum' @@ -231,7 +231,7 @@ jobs: run: docker-compose -f ".github/workflows/consul/docker-compose.yml" down - name: Report Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} with: flags: go-${{ matrix.go-version }}-${{ matrix.goarch }} diff --git a/.github/workflows/ci-sub.yml b/.github/workflows/ci-sub.yml index ad162244153..d552a252ee1 100644 --- a/.github/workflows/ci-sub.yml +++ b/.github/workflows/ci-sub.yml @@ -37,7 +37,7 @@ jobs: strategy: matrix: - go-version: [ "1.18", "1.19", "1.20", "1.21" ] + go-version: [ "1.18", "1.19", "1.20", "1.22" ] goarch: [ "386", "amd64" ] steps: @@ -53,7 +53,7 @@ jobs: uses: medyagh/setup-minikube@master - name: Setup Golang ${{ matrix.go-version }} - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} cache-dependency-path: '**/go.sum' diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index dc5c86c6e93..e0024a1c83d 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -36,19 +36,19 @@ jobs: golangci: strategy: matrix: - go-version: [ '1.18','1.19','1.20','1.21.4' ] + go-version: [ '1.18','1.19','1.20','1.21.4','1.22' ] name: golangci-lint runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Setup Golang ${{ matrix.go-version }} - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v1.52.2 + version: v1.56.2 args: --timeout 3m0s diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 14664662c48..df3d0ea171f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v4 - name: Set Up Golang Environment - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: 1.20.8 diff --git a/.golangci.yml b/.golangci.yml index 8ca32fa3299..3c370df084f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -262,7 +262,7 @@ linters-settings: # Select the Go version to target. # Default: "1.13" # Deprecated: use the global `run.go` instead. - go: "1.15" + go: "1.20" # SAxxxx checks in https://staticcheck.io/docs/configuration/options/#checks # Default: ["*"] checks: [ "all","-SA1019","-SA4015","-SA1029","-SA1016","-SA9003","-SA4006","-SA6003" ]