Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
Fix lint (http.NoBody) and restructure release workflow
Martin Vogel600ec428d6d1
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 5acc35d81..9faa6c200 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -16,7 +16,7 @@ permissions:contents: writejobs:- lint:+ lint-and-test:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4@@ -31,7 +31,11 @@ jobs:install-mode: goinstallargs: --timeout=5m+ - name: Run tests+ run: go test ./...+build-unix:+ needs: [lint-and-test]strategy:matrix:include:@@ -55,9 +59,6 @@ jobs:with:go-version: "1.26"- - name: Run tests- run: go test ./...-- name: Build binaryrun: |CGO_ENABLED=1 go build \@@ -74,6 +75,7 @@ jobs:path: "*.tar.gz"build-windows:+ needs: [lint-and-test]runs-on: windows-lateststeps:- uses: actions/checkout@v4@@ -88,13 +90,6 @@ jobs:path-type: inheritinstall: mingw-w64-ucrt-x86_64-gcc- - name: Run tests- shell: msys2 {0}- run: |- which go- go version- go test ./...-- name: Build binaryshell: msys2 {0}run: |@@ -113,7 +108,7 @@ jobs:path: "*.zip"release:- needs: [lint, build-unix, build-windows]+ needs: [build-unix, build-windows]runs-on: ubuntu-latestpermissions:contents: writediff --git a/internal/tools/tools.go b/internal/tools/tools.goindex c1fc5dcbc..d14edfc88 100644--- a/internal/tools/tools.go+++ b/internal/tools/tools.go@@ -268,7 +268,7 @@ func (s *Server) checkForUpdate() {ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)defer cancel()- req, err := http.NewRequestWithContext(ctx, "GET", releaseURL, nil)+ req, err := http.NewRequestWithContext(ctx, "GET", releaseURL, http.NoBody)if err != nil {return}