meta: add clang-format and reformat managarm sysdeps #17
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: pre-commit | |
on: [merge_group, pull_request] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Check .clang-format is up to date | |
- uses: actions/checkout@v4 | |
with: | |
repository: 'managarm/common-config' | |
path: common-config | |
- run: 'cmp .clang-format common-config/.clang-format' | |
name: 'Check .clang-format is up to date' | |
# Check formatting | |
- uses: actions/setup-python@v3 | |
- uses: pre-commit/[email protected] |