mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-10 05:24:18 +09:00
ci: fix cache-related issues (#37761)
Fixes two recurring CI failures: 1. `cache-seeder.yml` lint-backend missing a `make generate-go` before linting with `TAGS=bindata`, and `pull-compliance.yml` lint-on-demand failing its post-step pnpm cache save when no pnpm-using conditional step runs. 2. Drops `cache: pnpm` from lint-on-demand and adds `make generate-go` to cache-seeder's lint job. --- This PR was written with the help of Claude Opus 4.7 --------- Signed-off-by: silverwind <me@silverwind.io> Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
This commit is contained in:
@@ -66,6 +66,9 @@ jobs:
|
|||||||
cache-name: ${{ matrix.job }}
|
cache-name: ${{ matrix.job }}
|
||||||
lint-cache: "true"
|
lint-cache: "true"
|
||||||
- run: make deps-backend deps-tools
|
- run: make deps-backend deps-tools
|
||||||
|
- run: make generate-go
|
||||||
|
env:
|
||||||
|
TAGS: ${{ matrix.tags }}
|
||||||
- run: make ${{ matrix.target }}
|
- run: make ${{ matrix.target }}
|
||||||
env:
|
env:
|
||||||
TAGS: ${{ matrix.tags }}
|
TAGS: ${{ matrix.tags }}
|
||||||
|
|||||||
@@ -47,8 +47,6 @@ jobs:
|
|||||||
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||||
with:
|
with:
|
||||||
node-version: 24
|
node-version: 24
|
||||||
cache: pnpm
|
|
||||||
cache-dependency-path: pnpm-lock.yaml
|
|
||||||
|
|
||||||
- run: make lint-spell
|
- run: make lint-spell
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user