From 413487523ce80e751fae9aa63d382b3c35ae7171 Mon Sep 17 00:00:00 2001 From: Jabber Developer Date: Thu, 19 Jun 2025 19:59:02 +0200 Subject: [PATCH] Fix workflow --- .github/workflows/main.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 95560e36..9d37909e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,11 +27,11 @@ jobs: docker run profanity ./ci-build.sh code-style: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest name: Check coding style continue-on-error: true steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # if this check fails, you have to update the number of auto types known and the list of auto types in the check below - name: Check auto types are up-to-date run: | @@ -39,10 +39,15 @@ jobs: - name: Check auto types are initialized run: | grep -P 'auto_(char|gchar|gcharv|guchar|jid|sqlite|gfd|FILE)[\w *]*;$' -r src && exit -1 || true + - name: Show workspace dir + run: | + echo "PWD: $(pwd)" + ls -l + ls -l src || echo "src directory not found" - name: Run clang-format - uses: jidicula/clang-format-action@v4.11.0 + uses: jidicula/clang-format-action@v4.15.0 with: - clang-format-version: '16' + clang-format-version: '20' check-path: 'src' spell-check: