Merge pull request #12864 from cli/kw/update-build-from-source-to-go-1.26

Update Go version requirement to 1.26+
This commit is contained in:
Kynan Ware 2026-03-07 10:37:18 -07:00 committed by GitHub
commit 3d86738017
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ We accept pull requests for issues labelled `help wanted`. We encourage issues a
## Building the project
Prerequisites:
- Go 1.25+
- Go 1.26+
Build with:
* Unix-like systems: `make`

View file

@ -77,7 +77,7 @@ jobs:
# `govulncheck` exits unsuccessfully if vulnerabilities are found, providing results in stdout.
# See https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck#hdr-Exit_codes for more information on exit codes.
#
# On go1.25, To make `-mode binary` work we need to make sure the binary is built with `go build -buildvcs=false`
# On go1.25+, To make `-mode binary` work we need to make sure the binary is built with `go build -buildvcs=false`
# Since our builds do not use `-buildvcs=false`, we run in source mode here instead.
- name: Check Go vulnerabilities
run: |

View file

@ -1,6 +1,6 @@
# Installation from source
1. Verify that you have Go 1.25+ installed
1. Verify that you have Go 1.26+ installed
```sh
$ go version

View file

@ -1,6 +1,6 @@
# Installation from source
1. Verify that you have Go 1.25+ installed
1. Verify that you have Go 1.26+ installed
```sh
$ go version