Skip to content

Commit

Permalink
[CI] Retrieve lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
proux01 committed Sep 16, 2024
1 parent bc8ace3 commit 20383b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/basic-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check consistency of files in Makefiles
run: dev/tools/check-make-sync.sh
- name: Check for duplicate files
run: dev/tools/check-duplicate-files.sh
- name: Lint
run: dev/lint-repository.sh
2 changes: 1 addition & 1 deletion dev/lint-commits.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ while IFS= read -r commit; do
then bad_ws+=("$commit")
fi

if ! make check
if ! make
then bad_compile+=("$commit")
fi
done < <(git rev-list "$HEAD_COMMIT" --not "$BASE_COMMIT" --)
Expand Down
10 changes: 0 additions & 10 deletions dev/lint-repository.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,4 @@ echo Checking end of file newlines
find . "(" -path ./.git -prune ")" -o -type f -print0 |
xargs -0 dev/tools/check-eof-newline.sh || CODE=1

echo Checking overlays
dev/tools/check-overlays.sh || CODE=1

echo Checking CACHEKEY
dev/tools/check-cachekey.sh || CODE=1

# Check that doc/tools/docgram/fullGrammar is up-to-date
echo Checking grammar files
make SHOW='@true ""' doc_gram_verify || CODE=1

exit $CODE

0 comments on commit 20383b1

Please sign in to comment.