docs: clarify repo doctor direction #50
This file contains hidden or 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: Basic Checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| repository-smoke-test: | |
| name: Repository smoke test | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Check out repository | |
| # Pinned to actions/checkout v7.0.0. | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| with: | |
| persist-credentials: false | |
| - name: Check Rust project | |
| shell: bash | |
| run: | | |
| cargo fmt --check | |
| cargo clippy --locked --all-targets -- -D warnings | |
| cargo test --locked | |
| - name: Run repository doctor | |
| shell: bash | |
| run: bash scripts/doctor.sh | |
| - name: Print repository status | |
| shell: bash | |
| run: | | |
| echo "Basic repository checks passed." |