diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index dd89780e76..048391836e 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -72,7 +72,12 @@ jobs: - name: Run ruff check run: | mkosi box -- ruff --version - mkosi box -- ruff check + if ! mkosi box -- ruff check + then + echo "Please fix the errors shown by 'ruff check' on the above files or add noqa comments where appropriate." + echo "Diffs for fixes that can be programmatically generated are shown below:" + mkosi box -- ruff check --diff + fi - name: Configure meson run: mkosi box -- env CC=clang CXX=clang++ meson setup build