Skip to content

meta: add clang-format and reformat managarm sysdeps #20

meta: add clang-format and reformat managarm sysdeps

meta: add clang-format and reformat managarm sysdeps #20

Workflow file for this run

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]