Skip to content

Commit

Permalink
.github/workflows: use locally installed checkpatch.pl
Browse files Browse the repository at this point in the history
checkpatch.pl fails to download with the transient HTTP 429 Too Many Requests.

Signed-off-by: Peter Colberg <peter.colberg@altera.com>
  • Loading branch information
pcolberg committed Jan 16, 2025
1 parent c6dea9c commit cf514ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ccpp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ jobs:
- name: upgrade
run: sudo -E DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
- name: install
run: sudo -E DEBIAN_FRONTEND=noninteractive apt-get install -y clang-format
run: |
sudo -E DEBIAN_FRONTEND=noninteractive apt-get install -y clang-format linux-headers-generic
cp /usr/src/linux-headers-*-generic/checkpatch.pl ${{ github.workspace }}
- name: test ${{ matrix.lang-type }}
run: ${{ github.workspace }}/scripts/test-codingstyle-all.sh ${{ matrix.lang-type }}
build:
Expand Down

0 comments on commit cf514ff

Please sign in to comment.