diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e648b2c..5c81896 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,8 +6,10 @@ on: tags-ignore: - "v*" pull_request: + env: CGO_ENABLED: 0 + GO_VERSION: '1.21' jobs: verify: @@ -19,7 +21,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "${{ env.GO_VERSION }}" - name: goimports run: go install golang.org/x/tools/cmd/goimports@latest && goimports -d . | (! grep .) @@ -39,7 +41,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "${{ env.GO_VERSION }}" - name: Unit test run: make test diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index b0eaecf..5134ee9 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -23,8 +23,9 @@ package v1alpha1 import ( "k8s.io/api/core/v1" - runtime "k8s.io/apimachinery/pkg/runtime" "net/http" + + runtime "k8s.io/apimachinery/pkg/runtime" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.