From d19ec2c2c8e611378ec72228d7d0e427cc7cc175 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 22 Mar 2026 02:25:01 +1100 Subject: [PATCH] ci: manually define vars for lint build Git in containerised workflows doesn't really like to work properly, so avoid using it by manually defining variables --- .github/workflows/lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 992f9165..de8c0f60 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,8 +18,8 @@ jobs: - name: Build run: | - # Use fake version for CI build - cmake -B build -G Ninja -DCMAKE_CXX_COMPILER=clazy -DCMAKE_CXX_FLAGS=-Werror -DVERSION=v0.0.0 + # Set version and git rev for CI build so we don't call git + cmake -B build -G Ninja -DCMAKE_CXX_COMPILER=clazy -DCMAKE_CXX_FLAGS=-Werror -DVERSION= -DGIT_REVISION= cmake --build build - name: Lint QML