Skip to content

Commit

Permalink
Build Go binary with 1.24
Browse files Browse the repository at this point in the history
Relates to vektra#942. It was found that the pre-built binaries fail to run on Go 1.24 projects with this error:

```
10 Mar 25 15:01 CET ERR encountered error when loading package error="-: This application uses version go1.23 of the source-processing packages but runs version go1.24 of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go." dry-run=false version=v2.53.1
```

We modify the release pipeline to always use the latest stable version of Go.
  • Loading branch information
LandonTClipp committed Mar 10, 2025
1 parent e2402c5 commit 9f3bace
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '^1.24.0'

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down
2 changes: 1 addition & 1 deletion mockery-tools.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION=v2.53.1
VERSION=v2.53.2

0 comments on commit 9f3bace

Please sign in to comment.