Skip to content

Commit c8d5828

Browse files
committed
Add CI workflows for linting and link checking
1 parent 9c26229 commit c8d5828

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/links.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Check Links
2+
on:
3+
schedule:
4+
- cron: '0 0 1 * *'
5+
workflow_dispatch:
6+
push:
7+
branches: [main]
8+
jobs:
9+
check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: lycheeverse/lychee-action@v2
14+
with:
15+
fail: true

.github/workflows/lint.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Lint Awesome List
2+
on:
3+
pull_request:
4+
branches: [main]
5+
push:
6+
branches: [main]
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- run: npx awesome-lint

0 commit comments

Comments
 (0)