From 8cd86a82511acf6fff62a7f91dfb6098f675adc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Thu, 17 Apr 2025 19:30:02 +0200 Subject: [PATCH] Upgrade CI analyzers workflow (#4883) --- .github/workflows/analyzers.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/analyzers.yml b/.github/workflows/analyzers.yml index c258f1298..be5e9a13e 100644 --- a/.github/workflows/analyzers.yml +++ b/.github/workflows/analyzers.yml @@ -24,32 +24,25 @@ jobs: cmake_format: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup Python - uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 #v4.3.0 - with: - python-version: '3.x' - architecture: 'x64' - - name: Install cmake-format - uses: BSFishy/pip-action@8f2d471d809dc20b6ada98c91910b6ae6243f318 - with: - packages: | - cmake-format + run: pip install cmake-format # Simplified to use system Python - name: Check cmake-format run: ci/cmake-format-check.sh code_inspector: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 + - name: Run code-inspector - run: ci/code-inspector-check.sh + run: ci/code-inspector-check.sh \ No newline at end of file