chore(go): upgrade to go 1.25 and enable `GOEXPERIMENT=greenteagc`
commit6a4398ef69609ae0e4fde0b1a06e040c82bf860a
authorAndrey Nering <andreynering@users.noreply.github.com>
dateWed 13 Aug 2025, 09:37 (1 year ago)
parent2eaad51
.github/workflows/release.yml+1
@@ -32,3 +32,4 @@ jobs:
3232 macos_notary_issuer_id: ${{ secrets.MACOS_NOTARY_ISSUER_ID }}
3333 macos_notary_key_id: ${{ secrets.MACOS_NOTARY_KEY_ID }}
3434 macos_notary_key: ${{ secrets.MACOS_NOTARY_KEY }}
35+ go_version: "1.25"
.goreleaser.yml+1
@@ -43,6 +43,7 @@ before:
4343builds:
4444 - env:
4545 - CGO_ENABLED=0
46+ - GOEXPERIMENT=greenteagc
4647 goos:
4748 - linux
4849 - darwin
Taskfile.yaml+8
@@ -2,6 +2,9 @@
22
33version: "3"
44
5+env:
6+ GOEXPERIMENT: greenteagc
7+
58tasks:
69 lint:
710 desc: Run base linters
@@ -30,6 +33,11 @@ tasks:
3033 cmds:
3134 - go run .
3235
36+ install:
37+ desc: Install the application
38+ cmds:
39+ - go install -v .
40+
3341 profile:cpu:
3442 desc: 10s CPU profile
3543 cmds:
go.mod+1−1
@@ -1,6 +1,6 @@
11module github.com/charmbracelet/crush
22
3−go 1.24.3
3+go 1.25.0
44
55require (
66 github.com/JohannesKaufmann/html-to-markdown v1.6.0