From 4b7e3a542932bfab76f2eec609dfdfa08945ad69 Mon Sep 17 00:00:00 2001 From: Marcel Cornu Date: Mon, 8 Jan 2024 17:14:30 +0000 Subject: [PATCH] workflows: update style check --- .github/workflows/style.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index e3ff89fa..d9b26f1c 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -10,15 +10,11 @@ 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 @@ -26,4 +22,4 @@ jobs: 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 \ No newline at end of file + make style CLANGFORMAT=clang-format-11 CHECKPATCH=/tmp/checkpatch.pl