From 0b883f86a3e71930388ce0035c40855b53d93817 Mon Sep 17 00:00:00 2001 From: Rick Porter Date: Wed, 7 Jan 2026 07:28:52 -0500 Subject: [PATCH 1/3] Add linting to pipeline, again --- .github/workflows/lint.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..be62cff --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,18 @@ +name: Lint CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: dependencies + run: sudo apt install clang-format + - name: lint + run: make check-format From dbac1e2b1fa516df40deb8ab5dce93a8e1dff20a Mon Sep 17 00:00:00 2001 From: Rick Porter Date: Wed, 7 Jan 2026 07:35:16 -0500 Subject: [PATCH 2/3] Gather clang-format version info --- .github/workflows/lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index be62cff..d131a0f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,5 +14,7 @@ jobs: - uses: actions/checkout@v4 - name: dependencies run: sudo apt install clang-format + - name: version + run: clang-format --version - name: lint run: make check-format From c9c54468ce15bd2cb42ce82a87ff4872b4bc112c Mon Sep 17 00:00:00 2001 From: Rick Porter Date: Wed, 7 Jan 2026 07:39:21 -0500 Subject: [PATCH 3/3] Attempt to force clang-format version 21 --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d131a0f..d7b881d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: dependencies - run: sudo apt install clang-format + run: sudo apt install clang-format-21 - name: version run: clang-format --version - name: lint