diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml index 0301a63..8066b54 100644 --- a/.github/workflows/pr-check.yaml +++ b/.github/workflows/pr-check.yaml @@ -25,7 +25,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: "1.26" + go-version-file: go.mod - name: Cache Go modules uses: actions/cache@v4 @@ -50,7 +50,7 @@ jobs: - name: Generate mocks run: | - go install github.com/vektra/mockery/v3@v3.5.0 + go install github.com/vektra/mockery/v3@v3.7.4 mockery - name: Run tests with coverage diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3e78e2a..66b8bd3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,7 +26,7 @@ jobs: - run: git fetch --force --tags - uses: actions/setup-go@v5 with: - go-version: "1.26" + go-version-file: go.mod - uses: PromptPal/github-action@v1.0.3 env: PROMPTPAL_ENDPOINT: ${{ secrets.PROMPTPAL_ENDPOINT }} @@ -38,7 +38,7 @@ jobs: - name: Generate run: | echo "GH_TAG=$(echo $GITHUB_REF | awk -F / '{print $3}')" >> $GITHUB_ENV - go install github.com/vektra/mockery/v3@v3.5.0 + go install github.com/vektra/mockery/v3@v3.7.4 mockery - name: Test run: go test -timeout 3m -coverprofile=coverage.txt -covermode=atomic ./... diff --git a/AGENTS.md b/AGENTS.md index 27db759..acd72ff 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,7 +32,7 @@ Keep new code inside the existing package boundary. Do not mix CLI wiring, daemo - `mockery`: regenerate mocks when interfaces change - `pp g`: regenerate PromptPal-generated artifacts when relevant -Use Go 1.26, as declared in `go.mod`. +Use Go 1.27.1, as declared in `go.mod`. ## Coding Style & Naming Conventions Use standard Go conventions and keep code `gofmt`-clean. diff --git a/CLAUDE.md b/CLAUDE.md index 3c8e6e8..1d9285b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -10,7 +10,7 @@ ShellTime CLI is a Go-based command-line tool for tracking DevOps work. It consi ## Development Commands -**Requires Go 1.26+** +**Requires Go 1.27.1+** ### Building ```bash diff --git a/go.mod b/go.mod index f4b1267..649675a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/malamtime/cli -go 1.26 +go 1.27.1 require ( github.com/ThreeDotsLabs/watermill v1.5.1