Skip to content

Commit ec05aa0

Browse files
committed
ci: add verification workflow
Per-repo content checks (JSON validity / markdown lint / Astro build / example syntax + Go build) on push and PR.
1 parent 762e715 commit ec05aa0

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
markdown:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: List markdown files
19+
run: |
20+
find . -name '*.md' -not -path './.git/*' | xargs -r ls -la
21+
echo "$(find . -name '*.md' -not -path './.git/*' | wc -l) markdown files"
22+
23+
- name: Lint markdown (advisory)
24+
uses: DavidAnson/markdownlint-cli2-action@v16
25+
continue-on-error: true
26+
with:
27+
globs: '**/*.md'

0 commit comments

Comments
 (0)