Skip to content

Commit 8e12ac1

Browse files
AnnatarHeclaude
andauthored
build(ci): upgrade Go 1.26 to 1.27.1 (#310)
Bump the go directive to 1.27.1, the latest stable release, and have both workflows read the version from go.mod (matching the server) so CI cannot drift from the module again. Mockery v3.5.0 bundles golang.org/x/tools v0.33.0, which cannot load packages for a go 1.27 module ("package without types was imported"). Bump it to v3.7.4, the version the server already runs on Go 1.27.1. Claude-Session: https://claude.ai/code/session_016nCMzAhia8nSVTafQzYZcr Co-authored-by: Claude <noreply@anthropic.com>
1 parent a60113a commit 8e12ac1

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎.github/workflows/pr-check.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup Go
2626
uses: actions/setup-go@v5
2727
with:
28-
go-version: "1.26"
28+
go-version-file: go.mod
2929

3030
- name: Cache Go modules
3131
uses: actions/cache@v4
@@ -50,7 +50,7 @@ jobs:
5050

5151
- name: Generate mocks
5252
run: |
53-
go install github.com/vektra/mockery/v3@v3.5.0
53+
go install github.com/vektra/mockery/v3@v3.7.4
5454
mockery
5555
5656
- name: Run tests with coverage

‎.github/workflows/release.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- run: git fetch --force --tags
2727
- uses: actions/setup-go@v5
2828
with:
29-
go-version: "1.26"
29+
go-version-file: go.mod
3030
- uses: PromptPal/github-action@v1.0.3
3131
env:
3232
PROMPTPAL_ENDPOINT: ${{ secrets.PROMPTPAL_ENDPOINT }}
@@ -38,7 +38,7 @@ jobs:
3838
- name: Generate
3939
run: |
4040
echo "GH_TAG=$(echo $GITHUB_REF | awk -F / '{print $3}')" >> $GITHUB_ENV
41-
go install github.com/vektra/mockery/v3@v3.5.0
41+
go install github.com/vektra/mockery/v3@v3.7.4
4242
mockery
4343
- name: Test
4444
run: go test -timeout 3m -coverprofile=coverage.txt -covermode=atomic ./...

‎AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Keep new code inside the existing package boundary. Do not mix CLI wiring, daemo
3232
- `mockery`: regenerate mocks when interfaces change
3333
- `pp g`: regenerate PromptPal-generated artifacts when relevant
3434

35-
Use Go 1.26, as declared in `go.mod`.
35+
Use Go 1.27.1, as declared in `go.mod`.
3636

3737
## Coding Style & Naming Conventions
3838
Use standard Go conventions and keep code `gofmt`-clean.

‎CLAUDE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ShellTime CLI is a Go-based command-line tool for tracking DevOps work. It consi
1010

1111
## Development Commands
1212

13-
**Requires Go 1.26+**
13+
**Requires Go 1.27.1+**
1414

1515
### Building
1616
```bash

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/malamtime/cli
22

3-
go 1.26
3+
go 1.27.1
44

55
require (
66
github.com/ThreeDotsLabs/watermill v1.5.1

0 commit comments

Comments
 (0)