From 6221cb6c781928616da0307f867f23f56263046f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Dec 2023 09:44:19 -0500 Subject: [PATCH] ci: bump actions/setup-go from 4 to 5 (#2429) * ci: bump actions/setup-go from 4 to 5 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * update go version in workflows Signed-off-by: Evan Baker --------- Signed-off-by: dependabot[bot] Signed-off-by: Evan Baker Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Evan Baker --- .github/workflows/codeql.yaml | 2 +- .github/workflows/crdgen.yaml | 6 +++--- .../workflows/cyclonus-netpol-extended-nightly-test.yaml | 2 +- .github/workflows/cyclonus-netpol-test.yaml | 2 +- .github/workflows/golangci.yaml | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 1d11da188d..2187ccdb53 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -30,7 +30,7 @@ jobs: security-events: write steps: - name: Setup go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: '1.21' check-latest: true diff --git a/.github/workflows/crdgen.yaml b/.github/workflows/crdgen.yaml index 89444a038a..9d7faafa54 100644 --- a/.github/workflows/crdgen.yaml +++ b/.github/workflows/crdgen.yaml @@ -8,10 +8,10 @@ on: - synchronize - ready_for_review jobs: - crdgen119: + crdgen: strategy: matrix: - go-version: ['1.20','1.21'] + go-version: ['1.21'] os: [ubuntu-latest] name: CRDs are Generated runs-on: ${{ matrix.os }} @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Regenerate NodeNetworkConfig CRD diff --git a/.github/workflows/cyclonus-netpol-extended-nightly-test.yaml b/.github/workflows/cyclonus-netpol-extended-nightly-test.yaml index 0fe111c57d..3ff106a20e 100644 --- a/.github/workflows/cyclonus-netpol-extended-nightly-test.yaml +++ b/.github/workflows/cyclonus-netpol-extended-nightly-test.yaml @@ -24,7 +24,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: "^1.21" diff --git a/.github/workflows/cyclonus-netpol-test.yaml b/.github/workflows/cyclonus-netpol-test.yaml index 8679b9deab..01fcba8249 100644 --- a/.github/workflows/cyclonus-netpol-test.yaml +++ b/.github/workflows/cyclonus-netpol-test.yaml @@ -30,7 +30,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: '^1.21' diff --git a/.github/workflows/golangci.yaml b/.github/workflows/golangci.yaml index 376aeea907..6187ea83b1 100644 --- a/.github/workflows/golangci.yaml +++ b/.github/workflows/golangci.yaml @@ -12,12 +12,12 @@ jobs: strategy: fail-fast: false matrix: - go-version: ['1.20.x','1.21.x'] + go-version: ['1.21.x'] os: [ubuntu-latest, windows-latest] name: Lint runs-on: ${{ matrix.os }} steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - uses: actions/checkout@v4 @@ -26,6 +26,6 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.52.2 + version: v1.55.2 args: --timeout=25m only-new-issues: true