aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-13 14:51:32 +0200
committerEgor Tensin <egor@tensin.name>2026-06-13 14:51:32 +0200
commita817bfc4cf11179118eb53f8fdcdfc5364a9f8ba (patch)
tree8c59de5912d3980702c3d1269b976b1eae01dab7
parentworkflows/ci: windows-2025 ships with VS 2026 now (diff)
downloadaes-tools-a817bfc4cf11179118eb53f8fdcdfc5364a9f8ba.tar.gz
aes-tools-a817bfc4cf11179118eb53f8fdcdfc5364a9f8ba.zip
workflows/ci: add clang-format job
-rw-r--r--.github/workflows/ci.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b057621..3c1cac2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -5,6 +5,23 @@ on:
workflow_dispatch:
jobs:
+ lint:
+ runs-on: ubuntu-latest
+ name: Linting
+ if: github.ref == 'refs/heads/master'
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v6
+ - name: Set up clang-format
+ uses: egor-tensin/setup-clang@v2
+ with:
+ # To use the latest clang-format features:
+ version: 22
+ - name: Run clang-format
+ uses: egor-tensin/clang-format@v1
+ with:
+ version: 22
+
build:
strategy:
matrix: