aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2020-05-02 13:21:37 +0100
committerPhilip Herron <philip.herron@embecosm.com>2020-11-28 19:09:39 +0000
commit2c40a7f3c02ecc291e63ec129a1fd4c6d99f852e (patch)
treefc9db6053f60cb3985d052ee0cd683c43f81dd64
parent16a1e8af9d848cb9864cb30476a6ed444538ecba (diff)
downloadgcc-2c40a7f3c02ecc291e63ec129a1fd4c6d99f852e.zip
gcc-2c40a7f3c02ecc291e63ec129a1fd4c6d99f852e.tar.gz
gcc-2c40a7f3c02ecc291e63ec129a1fd4c6d99f852e.tar.bz2
Test a clang-format lint
-rw-r--r--.github/workflows/clang-format-check.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml
new file mode 100644
index 0000000..b95b161
--- /dev/null
+++ b/.github/workflows/clang-format-check.yml
@@ -0,0 +1,15 @@
+name: Clang-Format
+
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - uses: DoozyX/clang-format-lint-action@v0.5
+ with:
+ source: './gcc/rust/'
+ exclude: './third_party'
+ clangFormatVersion: 9