We have now the CI ensure all doc strings remain formatted #1
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| jobs: | |
| fmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install Rust nightly | |
| run: rustup toolchain install nightly | |
| - name: Run rustfmt (nightly) | |
| run: cargo +nightly fmt --all -- --config format_code_in_doc_comments=true |