From 93e7fcdb64b789ca5e3670dee9f2dfbfc67cc77f Mon Sep 17 00:00:00 2001 From: Michel Loiseleur Date: Fri, 9 Jun 2023 11:13:35 +0200 Subject: [PATCH] update go 1.20 on go.mod, docs & on ci --- .github/workflows/ci.yml | 4 ++-- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/docs.yml | 2 +- docs/contributing/getting-started.md | 2 +- go.mod | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3d36d5d5..173721737 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: 1.20 id: go - name: Check out code into the Go module directory @@ -38,7 +38,7 @@ jobs: apt update apt install -y make gcc libc-dev git if: github.actor == 'nektos/act' - + - name: Test run: make test diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index bf37e27d3..cadcb0488 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -30,7 +30,7 @@ jobs: - name: Install go version uses: actions/setup-go@v3 with: - go-version: '^1.19' + go-version: '^1.20' # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 112048477..aef5af4cc 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: ^1.19 + go-version: ^1.20 - run: | pip install -r docs/scripts/requirements.txt diff --git a/docs/contributing/getting-started.md b/docs/contributing/getting-started.md index 82976ee6d..7cf42ca09 100644 --- a/docs/contributing/getting-started.md +++ b/docs/contributing/getting-started.md @@ -1,7 +1,7 @@ # Quick Start - [Git](https://git-scm.com/downloads) -- [Go 1.19+](https://golang.org/dl/) +- [Go 1.20+](https://golang.org/dl/) - [Go modules](https://github.com/golang/go/wiki/Modules) - [golangci-lint](https://github.com/golangci/golangci-lint) - [Docker](https://docs.docker.com/install/) diff --git a/go.mod b/go.mod index 16af9aad9..4d848314c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module sigs.k8s.io/external-dns -go 1.19 +go 1.20 require ( cloud.google.com/go/compute/metadata v0.2.3