Skip to content

Commit ceffc29

Browse files
horghclaude
andcommitted
Use precious for linting in CI
This replaces the standalone golangci-lint workflow with precious, which runs all configured linters (golangci-lint and prettier). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 62e7a0d commit ceffc29

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

.github/workflows/lint.yml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: golangci-lint
1+
name: lint
22

33
on:
44
push:
@@ -9,14 +9,27 @@ on:
99
permissions: {}
1010

1111
jobs:
12-
golangci:
13-
name: lint
12+
precious:
1413
runs-on: ubuntu-latest
1514
steps:
1615
- uses: actions/checkout@v6
1716
with:
1817
persist-credentials: false
19-
- name: golangci-lint
20-
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # 9.2.0
18+
19+
- uses: actions/setup-go@v6
20+
with:
21+
go-version: "1.25"
22+
23+
- uses: actions/setup-node@v4
2124
with:
22-
version: latest
25+
node-version: "24"
26+
27+
- name: Install golangci-lint
28+
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
29+
30+
- name: Install precious
31+
run: |
32+
curl -sL https://github.com/houseabsolute/precious/releases/latest/download/precious-Linux-x86_64.tar.gz | tar xz -C /usr/local/bin
33+
34+
- name: Run precious
35+
run: precious lint --all

0 commit comments

Comments
 (0)