From fea5ed12c17cb8bfeeaca4ebf136dd4865cc988d Mon Sep 17 00:00:00 2001 From: Gliniak Date: Sun, 19 Jan 2025 20:36:28 +0100 Subject: [PATCH] [CI] Added linter to Linux path. Currently working on windows due to clang-format version difference --- .github/workflows/Linux_build.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/Linux_build.yml b/.github/workflows/Linux_build.yml index 49a34a0f4..709304a64 100644 --- a/.github/workflows/Linux_build.yml +++ b/.github/workflows/Linux_build.yml @@ -40,19 +40,19 @@ on: workflow_dispatch: jobs: -# lint: -# name: Lint -# runs-on: ubuntu-24.04 -# steps: -# - uses: actions/checkout@main -# - name: Check Clang-Format Version -# run: clang-format --version -# - name: Lint -# run: ./xb lint --all + lint: + name: Lint + runs-on: windows-latest + steps: + - uses: actions/checkout@main + - name: Check Clang-Format Version + run: clang-format --version + - name: Lint + run: ./xb lint --all build-linux: name: Build (Linux) # runner.os can't be used here -# needs: lint + needs: lint runs-on: ubuntu-24.04 steps: - uses: actions/checkout@main