Skip to content

Commit 26a5c4a

Browse files
committed
chore: update gorelease to fix nil pointer panic on Go 1.26
The pinned gorelease commit (f062dba) pulls in golang.org/x/tools@v0.2.0 which has a nil pointer dereference in go/types.(*StdSizes).Sizeof when run under Go 1.26. Update to the latest exp commit (3dfff04) which depends on golang.org/x/tools@v0.42.0.
1 parent ed1d360 commit 26a5c4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ jobs:
154154
# see https://github.com/golang/exp/commits/master/cmd/gorelease
155155
run: |
156156
go mod download
157-
go install golang.org/x/exp/cmd/gorelease@f062dba9d201f5ec084d25785efec05637818c00 # https://cs.opensource.google/go/x/exp/+/f062dba9d201f5ec084d25785efec05637818c00
157+
go install golang.org/x/exp/cmd/gorelease@3dfff04db8fa6b6338ec60a0317f99db30637e41 # https://cs.opensource.google/go/x/exp/+/3dfff04db8fa6b6338ec60a0317f99db30637e41
158158
output=$((gorelease -base "$PREV_VERSION") 2>&1 || true)
159159
printf "output<<$EOF\n%s\n$EOF" "$output" >> $GITHUB_OUTPUT
160160
- id: gocompat

0 commit comments

Comments
 (0)