[CI] Added linter to Linux path.

Currently working on windows due to clang-format version difference
This commit is contained in:
Gliniak 2025-01-19 20:36:28 +01:00 committed by Radosław Gliński
parent 0c13ab334b
commit 1618f43c33
1 changed files with 10 additions and 10 deletions

View File

@ -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