Skip to content

Commit e74dcfb

Browse files
committed
run linters on CI
1 parent 55bfb59 commit e74dcfb

File tree

2 files changed

+25
-14
lines changed

2 files changed

+25
-14
lines changed

.github/workflows/linter.yml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
11
name: Lint Awesome List
22
on: [push, pull_request]
33
jobs:
4-
Awesome_Lint:
4+
5+
md-dead-link-check:
6+
runs-on: ubuntu-22.04
7+
steps:
8+
- uses: actions/checkout@v5
9+
- uses: AlexanderDokuchaev/md-dead-link-check@v1.2.0
10+
11+
lint-markdown:
12+
name: python
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v5
16+
- name: Install uv
17+
uses: astral-sh/setup-uv@v7
18+
- name: Check with rumdl
19+
run: |
20+
uv install rumdl
21+
rumdl check .
22+
23+
spelling:
24+
name: Spell Check with Typos
525
runs-on: ubuntu-latest
626
steps:
7-
- uses: actions/checkout@v2
8-
with:
9-
fetch-depth: 0
10-
- run: npx awesome-lint
27+
- name: Checkout Actions Repository
28+
uses: actions/checkout@v5
29+
- name: Spell Check Repo
30+
uses: crate-ci/typos@v1.40.0

.pre-commit-config.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,6 @@ repos:
77
- id: end-of-file-fixer
88
- id: check-yaml
99
- id: check-added-large-files
10-
- repo: https://github.com/jackdewinter/pymarkdown
11-
rev: v0.9.33
12-
hooks:
13-
- id: pymarkdown
14-
args:
15-
- -d
16-
- MD013
17-
- --strict
18-
- scan
1910
- repo: https://github.com/AlexanderDokuchaev/md-dead-link-check
2011
rev: v1.2.0
2112
hooks:

0 commit comments

Comments
 (0)