feat: add GitHub deployment environments for containers, docs, and ho… #4906
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: Pretty | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| docs: | |
| name: Formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: MFC Python setup | |
| run: ./mfc.sh init | |
| - name: Check formatting | |
| run: | | |
| ./mfc.sh format -j $(nproc) | |
| git diff --exit-code |