Fix CI: update Go version to 1.25, use specific package paths
CI / test (push) Failing after 12m36s

- .github/workflows/ci.yml: go-version '1.23' -> '1.25' to match go.mod
- All go build/vet/test/lint: use ./cmd/... ./internal/... instead of ./...
  to avoid picking up Go packages in node_modules/ (flatted)
- Makefile: same fix for test target
This commit is contained in:
2026-07-30 14:48:16 -04:00
parent a58b203b16
commit cfcf9dbeec
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -13,7 +13,7 @@ jobs:
- uses: actions/setup-go@v5 - uses: actions/setup-go@v5
with: with:
go-version: '1.23' go-version: '1.25'
cache: true cache: true
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
@@ -32,18 +32,18 @@ jobs:
run: go mod download run: go mod download
- name: Build - name: Build
run: go build ./... run: go build ./cmd/... ./internal/...
- name: Vet - name: Vet
run: go vet ./... run: go vet ./cmd/... ./internal/...
- name: Test - name: Test
run: go test -race -coverprofile=coverage.out ./... run: go test -race -coverprofile=coverage.out ./cmd/... ./internal/...
- name: Lint - name: Lint
run: | run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
$(go env GOPATH)/bin/golangci-lint run ./... $(go env GOPATH)/bin/golangci-lint run ./cmd/... ./internal/...
- name: Upload coverage - name: Upload coverage
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
+1 -1
View File
@@ -41,7 +41,7 @@ dev:
## test: Run tests ## test: Run tests
test: test:
$(GOTEST) -v -race -coverprofile=coverage.out ./... $(GOTEST) -v -race -coverprofile=coverage.out ./cmd/... ./internal/...
## test/integration: Run integration tests ## test/integration: Run integration tests
test/integration: test/integration: