Skip to content

Commit

Permalink
workflows: update style check
Browse files Browse the repository at this point in the history
  • Loading branch information
mdcornu authored and rkanagar committed Jan 18, 2024
1 parent 03d4eea commit 4b7e3a5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,16 @@ jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt install clang-format-11 codespell
python -m pip install --upgrade pip
sudo apt install clang-format-11 codespell wget git python3-pip
python3 -m pip install --upgrade pip
pip install pipenv
make setup-dev
wget -P /tmp/ https://raw.githubusercontent.com/torvalds/linux/184b8f7f91ca7938c09533df83ce84817e682975/scripts/checkpatch.pl && chmod a+x /tmp/checkpatch.pl
wget -P /tmp/ https://raw.githubusercontent.com/torvalds/linux/184b8f7f91ca7938c09533df83ce84817e682975/scripts/spelling.txt
wget -P /tmp/ https://raw.githubusercontent.com/torvalds/linux/184b8f7f91ca7938c09533df83ce84817e682975/scripts/const_structs.checkpatch
- name: Style check
run: |
make style CLANGFORMAT=clang-format-11 CHECKPATCH=/tmp/checkpatch.pl
make style CLANGFORMAT=clang-format-11 CHECKPATCH=/tmp/checkpatch.pl

0 comments on commit 4b7e3a5

Please sign in to comment.