update go 1.20 on go.mod, docs & on ci

This commit is contained in:
Michel Loiseleur 2023-06-09 11:13:35 +02:00
parent 91744629c3
commit 93e7fcdb64
5 changed files with 6 additions and 6 deletions

View File

@ -23,7 +23,7 @@ jobs:
- name: Set up Go 1.x - name: Set up Go 1.x
uses: actions/setup-go@v4 uses: actions/setup-go@v4
with: with:
go-version: 1.19 go-version: 1.20
id: go id: go
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
@ -38,7 +38,7 @@ jobs:
apt update apt update
apt install -y make gcc libc-dev git apt install -y make gcc libc-dev git
if: github.actor == 'nektos/act' if: github.actor == 'nektos/act'
- name: Test - name: Test
run: make test run: make test

View File

@ -30,7 +30,7 @@ jobs:
- name: Install go version - name: Install go version
uses: actions/setup-go@v3 uses: actions/setup-go@v3
with: with:
go-version: '^1.19' go-version: '^1.20'
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL

View File

@ -26,7 +26,7 @@ jobs:
- uses: actions/setup-go@v4 - uses: actions/setup-go@v4
with: with:
go-version: ^1.19 go-version: ^1.20
- run: | - run: |
pip install -r docs/scripts/requirements.txt pip install -r docs/scripts/requirements.txt

View File

@ -1,7 +1,7 @@
# Quick Start # Quick Start
- [Git](https://git-scm.com/downloads) - [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) - [Go modules](https://github.com/golang/go/wiki/Modules)
- [golangci-lint](https://github.com/golangci/golangci-lint) - [golangci-lint](https://github.com/golangci/golangci-lint)
- [Docker](https://docs.docker.com/install/) - [Docker](https://docs.docker.com/install/)

2
go.mod
View File

@ -1,6 +1,6 @@
module sigs.k8s.io/external-dns module sigs.k8s.io/external-dns
go 1.19 go 1.20
require ( require (
cloud.google.com/go/compute/metadata v0.2.3 cloud.google.com/go/compute/metadata v0.2.3