Skip to content

Commit

Permalink
GitHub: bump Go version used for apidiff
Browse files Browse the repository at this point in the history
The latest apidiff needs a more recent Go to compile. "go install"
is the recommended way of installing binaries in GOBIN.
  • Loading branch information
pohly committed Oct 7, 2024
1 parent 685f8d1 commit 5ace3b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/apidiff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: 1.21.x
go-version: 1.23.x
- name: Add GOBIN to PATH
run: echo "PATH=$(go env GOPATH)/bin:$PATH" >>$GITHUB_ENV
- name: Install dependencies
run: GO111MODULE=off go get golang.org/x/exp/cmd/apidiff
run: go install golang.org/x/exp/cmd/apidiff@latest
- name: Checkout old code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
Expand Down

0 comments on commit 5ace3b9

Please sign in to comment.