Skip to content

feat: add sirius by @cyphersnake, @chaosma and @drouyang #53

feat: add sirius by @cyphersnake, @chaosma and @drouyang

feat: add sirius by @cyphersnake, @chaosma and @drouyang #53

name: Linter & Links (Fail Fast)
on:
push:
pull_request:
jobs:
lintNLinkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Typos check
uses: crate-ci/typos@master
with:
files: ./README.md
write_changes: false
- name: Link Checker
uses: lycheeverse/lychee-action@v1.8.0
with:
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Markdown lint for README
uses: docker://avtodev/markdown-lint:v1
with:
config: ./.markdownlint.json
args: ./README.md
lint-markdown-toc:
runs-on: ubuntu-latest
name: Lint for Table of Contents
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install markdown-toc
- run: ./node_modules/.bin/markdown-toc -i README.md
- run: git diff --exit-code