Skip to content

Commit

Permalink
Merge pull request #887 from akutz/feature/go1.23.6
Browse files Browse the repository at this point in the history
🌱 Go 1.23.6
  • Loading branch information
akutz authored Feb 6, 2025
2 parents 41ed882 + 1de9e7d commit b10c702
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: ci

env:
# This value is usually commented out, allowing the go-version-file
# directive to pull the Go version from the go.mod file. However,
# sometimes we need to explicitly override the Go version, ex. CVEs,
# when it is not possible to update the go.mod version yet, ex. the
# internal builds do not yet support that version of Go.
GO_VERSION: 1.23.6

on:
pull_request:
branches:
Expand Down Expand Up @@ -55,7 +63,8 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: ${{ env.GO_VERSION }}
go-version-file: 'go.mod'
cache: true
cache-dependency-path: '**/go.sum'
- name: Run go mod tidy
Expand All @@ -81,7 +90,8 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: ${{ env.GO_VERSION }}
go-version-file: 'go.mod'
cache: true
cache-dependency-path: '**/go.sum'
- name: Verify codegen
Expand All @@ -97,7 +107,8 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: ${{ env.GO_VERSION }}
go-version-file: 'go.mod'
cache: true
cache-dependency-path: '**/go.sum'
- name: Create kind cluster
Expand All @@ -121,7 +132,8 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: ${{ env.GO_VERSION }}
go-version-file: 'go.mod'
cache: true
cache-dependency-path: '**/go.sum'
- name: Setup the cache for golangci-lint
Expand All @@ -144,7 +156,8 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: ${{ env.GO_VERSION }}
go-version-file: 'go.mod'
cache: true
cache-dependency-path: '**/go.sum'
- name: Setup the cache for govulncheck
Expand All @@ -166,7 +179,8 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: ${{ env.GO_VERSION }}
go-version-file: 'go.mod'
cache: true
cache-dependency-path: '**/go.sum'
- name: Build Image
Expand All @@ -182,7 +196,8 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: ${{ env.GO_VERSION }}
go-version-file: 'go.mod'
cache: true
cache-dependency-path: '**/go.sum'
- name: Test
Expand Down

0 comments on commit b10c702

Please sign in to comment.