aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-05 22:38:04 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-05 23:34:08 +0300
commit343ea42df04dcad078d1274ff7bf3d3ca7da79bd (patch)
treec2ccad56c84ec97d2e2cfb5ece4cfce71f80a977 /.github
parentclang-format.py: cd to top-level repo directory (diff)
downloadcmake-common-343ea42df04dcad078d1274ff7bf3d3ca7da79bd.tar.gz
cmake-common-343ea42df04dcad078d1274ff7bf3d3ca7da79bd.zip
workflows/basic: call clang-format.py
Diffstat (limited to '')
-rw-r--r--.github/workflows/basic.yml9
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: