diff --git a/.gitea/workflows/dev-deploy.yaml b/.gitea/workflows/dev-deploy.yaml index 72cbd79..0ebf15f 100644 --- a/.gitea/workflows/dev-deploy.yaml +++ b/.gitea/workflows/dev-deploy.yaml @@ -40,8 +40,7 @@ jobs: uses: actions/setup-go@v5 with: go-version-file: go.work - # See go-unit.yaml for why `cache: true` is disabled. - cache: false + cache: true - name: Set up pnpm uses: pnpm/action-setup@v4 @@ -52,11 +51,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: 22 - # `cache: pnpm` pushes the pnpm store through the Gitea - # Actions cache service which is currently unreachable - # (192.168.0.222:43513 ETIMEDOUT). In host-mode the real - # store lives in ~/.local/share/pnpm and persists between - # jobs without any action plumbing. + cache: pnpm + cache-dependency-path: ui/pnpm-lock.yaml - name: Install UI dependencies working-directory: ui diff --git a/.gitea/workflows/go-unit.yaml b/.gitea/workflows/go-unit.yaml index 8a70d2d..b961d6a 100644 --- a/.gitea/workflows/go-unit.yaml +++ b/.gitea/workflows/go-unit.yaml @@ -46,13 +46,7 @@ jobs: uses: actions/setup-go@v5 with: go-version-file: go.work - # `cache: true` here pushes/pulls archives through the Gitea - # Actions cache service at 192.168.0.222:43513. That endpoint - # currently does not answer, and the action wastes minutes - # per run on reserveCache retries. In host-mode the real - # caches live in $HOME (~/go/pkg/mod, ~/.cache/go-build) and - # persist between jobs without any actions/cache plumbing. - cache: false + cache: true - name: Run Go tests # client/ is the deprecated Fyne client; excluded from CI per diff --git a/.gitea/workflows/integration.yaml b/.gitea/workflows/integration.yaml index 134ac58..85d61cd 100644 --- a/.gitea/workflows/integration.yaml +++ b/.gitea/workflows/integration.yaml @@ -53,8 +53,7 @@ jobs: uses: actions/setup-go@v5 with: go-version-file: go.work - # See go-unit.yaml for why `cache: true` is disabled. - cache: false + cache: true - name: Run integration suite # `make integration` precleans leftover docker-compose state and diff --git a/.gitea/workflows/prod-build.yaml b/.gitea/workflows/prod-build.yaml index c9beb69..4e54788 100644 --- a/.gitea/workflows/prod-build.yaml +++ b/.gitea/workflows/prod-build.yaml @@ -37,8 +37,7 @@ jobs: uses: actions/setup-go@v5 with: go-version-file: go.work - # See go-unit.yaml for why `cache: true` is disabled. - cache: false + cache: true - name: Set up pnpm uses: pnpm/action-setup@v4 @@ -49,7 +48,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: 22 - # See dev-deploy.yaml for why `cache: pnpm` is disabled. + cache: pnpm + cache-dependency-path: ui/pnpm-lock.yaml - name: Resolve image tag id: tag diff --git a/.gitea/workflows/ui-test.yaml b/.gitea/workflows/ui-test.yaml index 1a39e3c..5924d3c 100644 --- a/.gitea/workflows/ui-test.yaml +++ b/.gitea/workflows/ui-test.yaml @@ -37,11 +37,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: 22 - # `cache: pnpm` pushes the pnpm store through the Gitea - # Actions cache service which is currently unreachable - # (192.168.0.222:43513 ETIMEDOUT). In host-mode the real - # store lives in ~/.local/share/pnpm and persists between - # jobs without any action plumbing. + cache: pnpm + cache-dependency-path: ui/pnpm-lock.yaml - name: Install npm dependencies working-directory: ui