pre-commit.yaml 498 B

1234567891011121314151617181920
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. name: pre-commit
  5. on:
  6. pull_request:
  7. push:
  8. branches: [trunk]
  9. jobs:
  10. pre-commit:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/checkout@v2
  14. - uses: actions/setup-python@v2
  15. - uses: pre-commit/action@v2.0.2
  16. env:
  17. SKIP: bazel-buildifier,clang-format-whole-file