clang-format.yml 422 B

123456789101112131415161718192021
  1. name: Clang Format Check
  2. on: [push, pull_request]
  3. jobs:
  4. ubuntu64:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - name: Checkout
  8. uses: actions/checkout@v2
  9. with:
  10. submodules: 'recursive'
  11. - name: Install clang format
  12. run: |
  13. sudo apt-get install -y clang-format-10
  14. - name: Check the Formatting
  15. run: |
  16. ./formatcode.sh
  17. ./CI/check-format.sh