Add linting action #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
- pull_request | |
jobs: | |
lint: | |
name: awesome-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install awesome-lint | |
run: npm install -g awesome-lint | |
- name: Run awesome-lint | |
run: npx awesome-lint ./README.md | |
link-check: | |
runs-on: ubuntu-latest | |
# check out the latest version of the code | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check links | |
uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
with: | |
use-verbose-mode: 'yes' |