Bump Go to 1.26.0 and golangci-lint to v2.9.0

Drop GOEXPERIMENT=greenteagc flag as the green tea GC is now the default in Go 1.26.
This commit is contained in:
2026-02-11 22:07:52 +04:00
parent c1584eb47b
commit 7cb49195f8
7 changed files with 17 additions and 17 deletions

View File

@@ -56,12 +56,12 @@ Download the latest binaries from the [releases](https://github.com/aykhans/sari
### Building from Source
Requires [Go 1.25+](https://golang.org/dl/).
Requires [Go 1.26+](https://golang.org/dl/).
```sh
git clone https://github.com/aykhans/sarin.git && cd sarin
CGO_ENABLED=0 GOEXPERIMENT=greenteagc go build \
CGO_ENABLED=0 go build \
-ldflags "-X 'go.aykhans.me/sarin/internal/version.Version=dev' \
-X 'go.aykhans.me/sarin/internal/version.GitCommit=$(git rev-parse HEAD)' \
-X 'go.aykhans.me/sarin/internal/version.BuildDate=$(date -u +%Y-%m-%dT%H:%M:%SZ)' \