aboutsummaryrefslogtreecommitdiff
path: root/libs/lootcli/.github/workflows/linting.yml
diff options
context:
space:
mode:
Diffstat (limited to 'libs/lootcli/.github/workflows/linting.yml')
-rw-r--r--libs/lootcli/.github/workflows/linting.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/lootcli/.github/workflows/linting.yml b/libs/lootcli/.github/workflows/linting.yml
new file mode 100644
index 0000000..b457e70
--- /dev/null
+++ b/libs/lootcli/.github/workflows/linting.yml
@@ -0,0 +1,15 @@
+name: Lint LootCLI
+on:
+ push:
+ pull_request:
+ types: [opened, synchronize, reopened]
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: Run clang-format
+ uses: jidicula/clang-format-action@v4.11.0
+ with:
+ clang-format-version: "15"
+ check-path: "."