summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlejandro Asenjo Nitti <96613413+sonicdcer@users.noreply.github.com>2023-10-16 15:56:53 -0300
committerGitHub <noreply@github.com>2023-10-16 15:56:53 -0300
commit491b9931c4015d9c39ccb8ff68729b66ae97ec7f (patch)
treeb80ec3a683702d1b43957d605f003f2b24bdfdbc /.github
parent755097a5a504bbff21dc8c60023a333c9a0dc2f3 (diff)
Create format.yaml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/format.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
new file mode 100644
index 00000000..3e6d933f
--- /dev/null
+++ b/.github/workflows/format.yaml
@@ -0,0 +1,19 @@
+name: Check Format
+
+# Build on every branch push, tag push, and pull request change:
+on: [push, pull_request]
+
+jobs:
+ build:
+ name: Check format
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout reposistory
+ uses: actions/checkout@v4
+
+ - name: Install package requirements
+ run: sudo apt-get install -y python3 python3-pip clang-format-14 clang-tidy-14
+
+ - name: Check format
+ run: ./tools/check_format.sh