Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
perf(ci): speed up App workflow Go dependency caching
wizardchenfafa925b267b
diff --git a/.github/workflows/app.yml b/.github/workflows/app.ymlindex 56fe362f0..1e1048004 100644--- a/.github/workflows/app.yml+++ b/.github/workflows/app.yml@@ -39,6 +39,7 @@ permissions:env:GO_VERSION: "1.26"+ GOPROXY: https://proxy.golang.org,direct# Keep tests independent of a developer machine's custom log template.LOG_FORMAT: ""BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.before }}@@ -56,7 +57,11 @@ jobs:- uses: actions/setup-go@v6with:go-version: ${{ env.GO_VERSION }}- cache-dependency-path: go.sum+ cache: true+ # v6 defaults to go.mod for the cache key (more stable than go.sum).++ - name: Download modules+ run: go mod download- name: Check formattingshell: bash@@ -75,11 +80,12 @@ jobs:exit 1fi- - name: Vet- run: go vet ./...-- - name: Test- run: go test $(go list ./... | grep -v '/docreader/')+ - name: Vet and test+ shell: bash+ run: |+ mapfile -t pkgs < <(go list ./... | grep -v '/docreader/')+ go vet "${pkgs[@]}"+ go test "${pkgs[@]}"- name: Build serverrun: go build ./cmd/serverdiff --git a/.github/workflows/docreader.yml b/.github/workflows/docreader.ymlindex 4fb92cced..93ece72bd 100644--- a/.github/workflows/docreader.yml+++ b/.github/workflows/docreader.yml@@ -34,6 +34,7 @@ permissions:env:PYTHON_VERSION: "3.10.18"GO_VERSION: "1.26"+ GOPROXY: https://proxy.golang.org,directjobs:verify:@@ -65,7 +66,10 @@ jobs:- uses: actions/setup-go@v6with:go-version: ${{ env.GO_VERSION }}- cache-dependency-path: go.sum+ cache: true++ - name: Download Go modules+ run: go mod download- name: Start DocReader gRPC serverrun: |