Bump required go version to at least go 1.17

See discussion on https://github.com/bgp/stayrtr/pull/91
This commit is contained in:
Ben Cartwright-Cox
2023-03-02 20:18:28 +00:00
parent c112384f21
commit 1740e861a3
4 changed files with 18 additions and 4 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v2
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v2
+1 -1
View File
@@ -45,7 +45,7 @@ Special thanks for support to the Route Server Support Foundation [RSSF](https:/
## To start developing
You need a working [Go environment](https://golang.org/doc/install) (1.16 or newer).
You need a working [Go environment](https://golang.org/doc/install) (1.17 or newer).
This project also uses [Go Modules](https://github.com/golang/go/wiki/Modules).
```bash
+15 -1
View File
@@ -1,6 +1,6 @@
module github.com/bgp/stayrtr
go 1.16
go 1.17
require (
github.com/google/go-cmp v0.5.6
@@ -10,3 +10,17 @@ require (
golang.org/x/crypto v0.6.0
golang.org/x/sys v0.5.0
)
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang/protobuf v1.4.3 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.26.0 // indirect
github.com/prometheus/procfs v0.6.0 // indirect
google.golang.org/protobuf v1.26.0-rc.1 // indirect
gopkg.in/yaml.v2 v2.3.0 // indirect
)