fix(ci): add cache-dependency-path to setup-go (fix go.sum not found warning)
CI / server-core-test (push) Has been skipped
CI / device-agent-test (push) Has been skipped
CI / dashboard-test (push) Has been skipped
CI / build-server-core (push) Successful in 20m44s
CI / build-device-agent (push) Successful in 2m10s
CI / build-dashboard (push) Successful in 1m42s
CI / build-docs (push) Has been skipped
CI / release (push) Successful in 24s

This commit is contained in:
datadunia
2026-06-21 13:44:58 +07:00
parent f98eedbfbe
commit a485c8df42
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -29,6 +29,7 @@ jobs:
with:
go-version: '1.26'
cache: true
cache-dependency-path: apps/server-core/go.sum
- name: Test (skip nftables - needs root)
working-directory: apps/server-core
run: go test $(go list ./... | grep -v internal/firewall) -tags dev -cover -count=1
@@ -49,6 +50,7 @@ jobs:
with:
go-version: '1.26'
cache: true
cache-dependency-path: apps/device-agent/go.sum
- name: Test
working-directory: apps/device-agent
run: go test ./... -cover