File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Meson Checks CI
2+
3+ on :
4+ push :
5+ branches : ['main']
6+ pull_request :
7+ workflow_dispatch :
8+
9+ jobs :
10+ meson_format :
11+ name : Run Meson Format Checks
12+ runs-on : ubuntu-24.04
13+ steps :
14+ - uses : actions/checkout@v4
15+ with :
16+ fetch-depth : ' 0'
17+
18+ # NOTE: meson has no dependencies, so --break-system-packages doesn't really break anything!
19+ - name : Setup meson
20+ run : |
21+ pip install meson --break-system-packages
22+
23+ - name : Check Files
24+ run : git ls-files --exclude='meson.build' --exclude='meson.options' --exclude='meson_options.txt' --exclude='*.wrap' --ignored -c -z | xargs -0r meson format -i -c ./meson.format
25+
26+ # # TODO: use mesonlint from
27+ # # https://github.com/JCWasmx86/mesonlsp
28+ # # once it is maitained again
29+ # meson_lint:
30+ # name: Run Meson Lint Checks
You can’t perform that action at this time.
0 commit comments