Skip to content

Commit

Permalink
Merge pull request #871 from akutz/feature/go1.23.5
Browse files Browse the repository at this point in the history
🌱 Go 1.23.5 / GH Action uses go.mod
  • Loading branch information
akutz authored Jan 28, 2025
2 parents 123d5bd + ea77d72 commit bc6ea62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: ci

env:
GO_VERSION: 1.23

on:
pull_request:
branches:
Expand Down Expand Up @@ -58,7 +55,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
cache: true
cache-dependency-path: '**/go.sum'
- name: Run go mod tidy
Expand All @@ -84,7 +81,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
cache: true
cache-dependency-path: '**/go.sum'
- name: Verify codegen
Expand All @@ -100,7 +97,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
cache: true
cache-dependency-path: '**/go.sum'
- name: Create kind cluster
Expand All @@ -124,7 +121,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
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 @@ -147,7 +144,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
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 @@ -169,7 +166,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
cache: true
cache-dependency-path: '**/go.sum'
- name: Build Image
Expand All @@ -185,7 +182,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
cache: true
cache-dependency-path: '**/go.sum'
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vmware-tanzu/vm-operator

go 1.23
go 1.23.5

replace (
github.com/vmware-tanzu/vm-operator/api => ./api
Expand Down

0 comments on commit bc6ea62

Please sign in to comment.