test and fix SAVEABLE #840
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: [pull_request] | |
permissions: {} | |
jobs: | |
cpp-linter: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cpp-linter/cpp-linter-action@v2 | |
id: linter | |
with: | |
style: file | |
version: 19 # Ubuntu 24.04 provides clang-format-19 | |
tidy-checks: '-*' # disable clang-tidy | |
lines-changed-only: true | |
# ignore bundled files | |
ignore: 'libvips/foreign/libnsgif|fuzz/StandaloneFuzzTargetMain.c' | |
- name: Fail fast | |
continue-on-error: true # TODO: remove this line in the future | |
if: steps.linter.outputs.checks-failed > 0 | |
run: exit 1 |