Skip to content

Commit

Permalink
Merge pull request #392 from silicon-heaven/ci-remove-non-linted-files
Browse files Browse the repository at this point in the history
CI: Remove blacklisted files
  • Loading branch information
fvacek authored Dec 29, 2023
2 parents 55f7ada + 76e9b4d commit 267cd99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions .github/actions/run-linter/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ runs:
run: |
BASE_REF="${{github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before}}"
git fetch --depth=1 origin "$BASE_REF"
# FIXME: The clang on CI chokes on lambda captures of structured binding variables. Remove the blacklisting of
# the files after the CI gets updated. (AFAIK clang-16).
readarray -t CHANGED_FILES < <(git diff --name-only "$BASE_REF" | grep 'cpp$' | grep -v -e "libshviotqt/tests/serialportsocket/test_serialportsocket.cpp" -e "libshvchainpack/tests/test_rpcvalue.cpp")
readarray -t CHANGED_FILES < <(git diff --name-only "$BASE_REF" | grep 'cpp$')
if [[ "${#CHANGED_FILES[@]}" -eq 0 ]]; then
echo "No changed cpp files."
exit 0
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ jobs:
lint_program_with_args: clang-tidy-15 --quiet --warnings-as-errors=*

clazy:
# FIXME: https://github.com/actions/runner-images/issues/8659
if: false
name: clazy / Ubuntu 22.04
runs-on: ubuntu-22.04
env:
Expand Down

0 comments on commit 267cd99

Please sign in to comment.