From ccc125ee9e8c71962745d5f880e95157b93fd4c1 Mon Sep 17 00:00:00 2001 From: Jens Peters Date: Sun, 26 Jun 2022 09:43:50 +0200 Subject: github: Add linting step --- .github/workflows/artifacts.yml | 7 +++++++ 1 file changed, 7 insertions(+) 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: -- cgit v1.2.3