diff options
author | Jens Peters <jp7677@gmail.com> | 2022-06-26 10:43:50 +0300 |
---|---|---|
committer | Jens Peters <jp7677@gmail.com> | 2022-06-30 21:10:20 +0300 |
commit | ccc125ee9e8c71962745d5f880e95157b93fd4c1 (patch) | |
tree | 9c13b5e2dc0d64e13c4c17155af8a474c22164da | |
parent | 969de11811d1d694df8e87db00f23be78d4313db (diff) |
github: Add linting step
-rw-r--r-- | .github/workflows/artifacts.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 6d2ab21..2d30129 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -36,6 +36,13 @@ jobs: - name: Setup problem matcher uses: Joshua-Ashton/gcc-problem-matcher@v1 + - name: Lint source code + uses: Joshua-Ashton/arch-mingw-github-action@v7 + with: + command: | + meson --cross-file "./build-win64.txt" -Denable_tests=True build/lint + ninja clang-format-check -C build/lint + - name: Build and run tests uses: Joshua-Ashton/arch-mingw-github-action@v7 with: |