diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-05 22:38:04 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-05 23:34:08 +0300 |
commit | 343ea42df04dcad078d1274ff7bf3d3ca7da79bd (patch) | |
tree | c2ccad56c84ec97d2e2cfb5ece4cfce71f80a977 | |
parent | clang-format.py: cd to top-level repo directory (diff) | |
download | cmake-common-343ea42df04dcad078d1274ff7bf3d3ca7da79bd.tar.gz cmake-common-343ea42df04dcad078d1274ff7bf3d3ca7da79bd.zip |
workflows/basic: call clang-format.py
-rw-r--r-- | .github/workflows/basic.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index 1b24714..f9b9c8f 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -9,6 +9,15 @@ on: workflow_dispatch: jobs: + lint: + runs-on: ubuntu-20.04 + name: Linting + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Run clang-format + run: ./tools/clang-format.py --clang-format clang-format-10 + build: strategy: matrix: |