-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 782 Bytes
/
Copy pathdocs-lint.yml
File metadata and controls
35 lines (29 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Docs Lint
on:
pull_request:
push:
branches: [ main ]
jobs:
docs-lint:
name: Documentation Structure & Scaladoc
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up ripgrep
run: |
sudo apt-get update
sudo apt-get install -y ripgrep
- name: Run docs structure lint
run: bash scripts/lint-docs.sh
- name: Run Scaladoc coverage check
run: |
chmod +x scripts/doclint.sh
./scripts/doclint.sh | tee doclint-report.txt
- name: Upload Scaladoc report
if: always()
uses: actions/upload-artifact@v4
with:
name: doclint-report
path: doclint-report.txt
retention-days: 7