566f4839e8
This reverts commit d7d8dd25. The lint job failed on a transient timeout fetching the golangci-lint config schema, which is a CI infrastructure concern rather than a defect in this change. Disabling schema verification to work around it does not belong in a cache-hardening PR: it weakens a check for every future run, and its root cause is out of scope here. Leaving CI configuration untouched keeps this PR to the lockdown cache redesign. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
27 lines
500 B
YAML
27 lines
500 B
YAML
name: golangci-lint
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
golangci:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- name: Build UI
|
|
uses: ./.github/actions/build-ui
|
|
- uses: actions/setup-go@v7
|
|
with:
|
|
go-version: '1.25'
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v9
|
|
with:
|
|
# sync with script/lint
|
|
version: v2.9
|