CI #375
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: CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '18 16 1/7 * *' | |
workflow_dispatch: | |
jobs: | |
lint-markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
- name: Install awesome-lint | |
run: npm install --global https://github.com/gbdev/list-linter | |
- name: Run awesome-lint | |
run: awesome-lint | |
check-deadlinks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install brok (and dependencies) | |
run: | | |
wget https://github.com/smallhadroncollider/brok/releases/download/1.1.0/brok-1.1.0_x86-64-linux.deb | |
sudo dpkg -i brok-1.1.0_x86-64-linux.deb | |
- name: Check for dead links | |
run: brok --only-failures *.md |