You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,6 @@ on:
5
5
tags:
6
6
- "v*"
7
7
8
-
env:
9
-
GO_VERSION: 1.25.0
10
-
11
8
concurrency:
12
9
group: ${{ github.workflow }}-${{ github.ref }}
13
10
@@ -121,7 +118,8 @@ jobs:
121
118
- name: Set up Go
122
119
uses: actions/setup-go@v5
123
120
with:
124
-
go-version: ${{ env.GO_VERSION }}
121
+
go-version-file: '.go-version'
122
+
check-latest: true
125
123
126
124
# Use release notes from the tag body when present (set by interactive `make release` or `make release tag=vX.Y.Z` with dist/release_notes.md). Otherwise GoReleaser uses its default changelog.
127
125
# Write to repo root so GoReleaser's --clean (which removes dist/) does not delete the file before it is read.
@@ -207,14 +205,15 @@ jobs:
207
205
- name: Set up Go
208
206
uses: actions/setup-go@v5
209
207
with:
210
-
go-version: ${{ env.GO_VERSION }}
208
+
go-version-file: '.go-version'
209
+
check-latest: true
211
210
212
211
- name: Generate docs
213
212
env:
214
213
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
215
214
# legacy-ref should happen first as it has the side effect of deleting generated files outside the legacy_ref
0 commit comments