Add info about discord #254
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: Check README | |
on: | |
pull_request: | |
branches: [ "*" ] | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_NET_GIT_FETCH_WITH_CLI: true | |
jobs: | |
check_readme: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install cargo-hakari | |
uses: baptiste0928/cargo-install@v1 | |
with: | |
crate: cargo-rdme | |
- name: Check that readme matches lib.rs | |
run: | | |
cp README.md README-copy.md | |
make readme | |
diff README.md README-copy.md | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Install toc-markdown | |
run: npm install -g markdown-toc | |
- name: Check that table of contents matches docs/toc-cggmp21.md | |
run: | | |
cp docs/toc-cggmp21.md docs/toc-cggmp21-copy.md | |
make toc-cggmp21 | |
diff docs/toc-cggmp21.md docs/toc-cggmp21-copy.md |