Skip to content

Commit

Permalink
Merge pull request #42 from fluxcd/update-go-1.20
Browse files Browse the repository at this point in the history
Update Go to 1.20
  • Loading branch information
stefanprodan authored Mar 9, 2023
2 parents b53530c + 686ca63 commit 6d4f661
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
echo "version=${VERSION}" >> $GITHUB_OUTPUT
- uses: actions/setup-go@v2
with:
go-version: 1.19.x
go-version: 1.20.x
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.19.x
go-version: 1.20.x
- name: Run tests
run: make test
- name: Check if working tree is dirty
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ meeting](https://docs.google.com/document/d/1l_M0om0qUEN_NNiGgpqJ2tvsF2iioHkaARD
### How to run the test suite

Prerequisites:
* go >= 1.19
* go >= 1.20
* docker >= 20.10
* kustomize >= 4.4

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG GO_VERSION=1.19
ARG XX_VERSION=1.1.0
ARG GO_VERSION=1.20
ARG XX_VERSION=1.2.1

FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ manifests: controller-gen

# Run go tidy to cleanup go.mod
tidy:
rm -f go.sum; go mod tidy -compat=1.19
rm -f go.sum; go mod tidy -compat=1.20

# Run go fmt against code
fmt:
Expand Down

0 comments on commit 6d4f661

Please sign in to comment.