generated from Consensys/doctools.template-site
-
Notifications
You must be signed in to change notification settings - Fork 399
35 lines (31 loc) · 739 Bytes
/
lint.yml
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: Check for lint/build errors
on:
pull_request:
branches:
- main
jobs:
lint:
name: Lint Code Base, Spelling
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Lint
uses: Consensys/docs-gha/lint@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
linkCheck:
name: Link Checking
runs-on: ubuntu-latest
strategy:
matrix:
file-extensions: [".md", ".mdx"]
steps:
- uses: actions/checkout@v4
- name: LinkCheck
uses: Consensys/docs-gha/linkcheck@main
with:
FILE_EXTENSION: '${{ matrix.file-extensions }}'
CONFIG_FILE: 'mlc_config.json'