Compare commits

..

1 Commits

Author SHA1 Message Date
datadunia a485c8df42 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
2026-06-21 13:44:58 +07:00
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@ jobs:
with: with:
go-version: '1.26' go-version: '1.26'
cache: true cache: true
cache-dependency-path: apps/device-agent/go.sum
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1 - uses: https://gitea.com/actions/go-hashfiles@v0.0.1
id: hash-src id: hash-src
+1
View File
@@ -23,6 +23,7 @@ jobs:
with: with:
go-version: '1.26' go-version: '1.26'
cache: true cache: true
cache-dependency-path: apps/server-core/go.sum
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1 - uses: https://gitea.com/actions/go-hashfiles@v0.0.1
id: hash-src id: hash-src
+2
View File
@@ -29,6 +29,7 @@ jobs:
with: with:
go-version: '1.26' go-version: '1.26'
cache: true cache: true
cache-dependency-path: apps/server-core/go.sum
- name: Test (skip nftables - needs root) - name: Test (skip nftables - needs root)
working-directory: apps/server-core working-directory: apps/server-core
run: go test $(go list ./... | grep -v internal/firewall) -tags dev -cover -count=1 run: go test $(go list ./... | grep -v internal/firewall) -tags dev -cover -count=1
@@ -49,6 +50,7 @@ jobs:
with: with:
go-version: '1.26' go-version: '1.26'
cache: true cache: true
cache-dependency-path: apps/device-agent/go.sum
- name: Test - name: Test
working-directory: apps/device-agent working-directory: apps/device-agent
run: go test ./... -cover run: go test ./... -cover