Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/coding-style-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# As this action runs with minimal permissions and does not influence the build output,
# we perform no version pinning for the runner or the installed tools here.
# The clangFormatVersion is based on Ubuntu current LTS (jammy at time of writing).
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- name: Check .cpp/.h/.mm with clang-format
Expand All @@ -47,20 +47,22 @@ jobs:

check-bash-style:
name: Verify shell script (Bash) coding style
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
# shellcheck is already pre-installed on ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Check .sh with shellcheck
run: find -name '*.sh' -not -path './libs/*' -exec shellcheck --shell=bash {} +
- name: Update package index
run: sudo apt-get update
- name: Install shfmt
run: sudo snap install shfmt
run: sudo apt-get -qq install shfmt
- name: Check .sh with shfmt
run: shfmt -d .

check-python-style:
name: Verify Python coding style
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- name: Install pylint
Expand Down
Loading