ci: Add lint job to run ast-grep on our C++ code

Closes: #28119
This commit is contained in:
Brad King committed 2026-09-28 14:06:48 -04:00
1 parent becb6e063a
commit 5825a86329
3 files changed
+17

No files matched your search

+7
View File
@@ -123,6 +123,13 @@ l:spellcheck:
- .rules
needs: []
l:ast-grep:
extends:
- .cmake_ast_grep_linux
- .linux_x86_64_tags
- .rules
needs: []
l:iwyu-debian13:
extends:
- .debian13_iwyu
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
ast-grep scan --error
+8
View File
@@ -796,6 +796,14 @@
- .gitlab/ci/typos.bash
interruptible: true
.cmake_ast_grep_linux:
stage: build
extends: .fedora44
script:
- source .gitlab/ci/ast-grep-env.sh
- .gitlab/ci/ast-grep-scan.sh
interruptible: true
.cmake_build_linux:
stage: build