Skip to content

Commit 2e1dc30

Browse files
horghclaude
andcommitted
Add precious workflow for non-Go linting
- Rename lint.yml to golangci-lint.yml for clarity - Add precious.yml to run precious for markdown formatting The golangci-lint action handles Go linting, while precious runs other configured linters (currently prettier for markdown). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 62e7a0d commit 2e1dc30

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- uses: actions/checkout@v6
1717
with:
1818
persist-credentials: false
19+
1920
- name: golangci-lint
2021
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # 9.2.0
2122
with:

.github/workflows/precious.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: precious
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '5 5 * * SUN'
8+
9+
permissions: {}
10+
11+
jobs:
12+
precious:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v6
16+
with:
17+
persist-credentials: false
18+
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: "24"
22+
23+
- name: Install precious
24+
run: |
25+
curl -sL https://github.com/houseabsolute/precious/releases/download/v0.10.1/precious-Linux-musl-x86_64.tar.gz | tar xz -C /usr/local/bin
26+
27+
- name: Run precious
28+
run: precious lint --command prettier-markdown --all

0 commit comments

Comments
 (0)