From 79cd0de8f09d687f1c8ddba00bd78a4528b78643 Mon Sep 17 00:00:00 2001 From: RDW Date: Tue, 7 Jan 2025 21:11:45 +0100 Subject: [PATCH] CI: Pin the luacheck version via static-analysis.env --- .github/static-analysis.env | 3 ++- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/static-analysis.env b/.github/static-analysis.env index 354237d8..369acbba 100755 --- a/.github/static-analysis.env +++ b/.github/static-analysis.env @@ -1,3 +1,4 @@ EVO_CPPCHECK_VERSION=2.16.0 EVO_SELENE_VERSION=0.27.1 -EVO_LUAROCKS_VERSION=3.11.1 \ No newline at end of file +EVO_LUAROCKS_VERSION=3.11.1 +EVO_LUACHECK_VERSION=1.2.0 \ No newline at end of file diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 9c3d8680..5939c12d 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -42,7 +42,7 @@ jobs: run: cd luarocks-$EVO_LUAROCKS_VERSION && ./configure && make && sudo make install - name: Install LuaCheck - run: sudo luarocks install luacheck + run: sudo luarocks install luacheck@EVO_LUACHECK_VERSION # We don't want LuaCheck to analyze LuaRocks itself # Ironically, it fails when doing that, but that's not useful here