Skip to content

Commit

Permalink
Update Go to 1.21
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Doherty <[email protected]>
  • Loading branch information
chrisdoherty4 committed Jan 17, 2024
1 parent c749fed commit c189a8c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ on:
tags-ignore:
- "v*"
pull_request:

env:
CGO_ENABLED: 0
GO_VERSION: '1.21'

jobs:
verify:
Expand All @@ -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 .)
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c189a8c

Please sign in to comment.