Generate a checklist from all recommendations #4
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 | |
"on": | |
workflow_dispatch: {} | |
pull_request: | |
branches: ["*"] | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install mdBook | |
run: | | |
curl -sSL "https://github.com/rust-lang/mdBook/releases/download/$(cat mdbook-version)/mdbook-$(cat mdbook-version)-x86_64-unknown-linux-gnu.tar.gz" | tar -xz | |
- name: Build and test the book | |
run: | | |
./mdbook build | |
./mdbook test | |
- name: Confirm that the checklist is up to date | |
run: | | |
./export_checklist.py | |
git diff --exit-code |