diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 216e09b4..cc15c588 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v2 with: - go-version: '1.18' + go-version: '1.19' - run: make installer - name: Checking if YAML installer file is not aligned run: if [[ $(git diff | wc -l) -gt 0 ]]; then echo ">>> Untracked generated files have not been committed" && git --no-pager diff && exit 1; fi diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 910d2f14..e77cf2d0 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -40,7 +40,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v2 with: - go-version: '1.18' + go-version: '1.19' - run: make manifests - name: Checking if manifests are disaligned run: test -z "$(git diff 2> /dev/null)" diff --git a/Dockerfile b/Dockerfile index 7dcab99c..f08a6738 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.18 as builder +FROM golang:1.19 as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/docs/content/contributing/development.md b/docs/content/contributing/development.md index f002ae97..c0a9c926 100644 --- a/docs/content/contributing/development.md +++ b/docs/content/contributing/development.md @@ -4,7 +4,7 @@ Make sure you have these tools installed: -- [Go 1.18+](https://golang.org/dl/) +- [Go 1.19+](https://golang.org/dl/) - [Operator SDK 1.7.2+](https://github.com/operator-framework/operator-sdk), or [Kubebuilder](https://github.com/kubernetes-sigs/kubebuilder) - [KinD](https://github.com/kubernetes-sigs/kind) or [k3d](https://k3d.io/), with `kubectl` - [ngrok](https://ngrok.com/) (if you want to run locally with remote Kubernetes) diff --git a/go.mod b/go.mod index 205ee39b..ab7c0169 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/clastix/capsule -go 1.18 +go 1.19 require ( github.com/go-logr/logr v1.2.0