From d8bef92cc16bb7854476b62934b2ae24f0b1e514 Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Mon, 23 Oct 2023 15:58:46 +0200 Subject: [PATCH] deps(go): upgrading to 1.20 Signed-off-by: Dario Tranchitella --- .github/workflows/diff.yml | 2 +- .github/workflows/e2e.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/diff.yml b/.github/workflows/diff.yml index f2945db0..b9ae6c48 100644 --- a/.github/workflows/diff.yml +++ b/.github/workflows/diff.yml @@ -21,7 +21,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: - go-version: '1.19' + go-version: '1.20' - 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 a54640f6..93136f21 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -45,7 +45,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: - go-version: '1.19' + go-version: '1.20' - run: make manifests - name: Checking if manifests are disaligned run: test -z "$(git diff 2> /dev/null)" diff --git a/Dockerfile b/Dockerfile index 9a47d3d0..2dc1996c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.19.10 as builder +FROM golang:1.20.10 as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/go.mod b/go.mod index 2c9fd576..a8eff336 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/projectcapsule/capsule -go 1.19 +go 1.20 require ( github.com/go-logr/logr v1.2.4