Skip to content

Commit 3da9dd2

Browse files
committed
github workflows: Switch to new Python linting workflow
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
1 parent 098b8c1 commit 3da9dd2

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1-
# Run shellcheck and shfmt on all shell files and yapf on all Python files in this repository
1+
# Run shellcheck and shfmt on all shell files and several Python linters on all Python files in this repository
22
name: Lint checks
33
on: [push, pull_request]
44
jobs:
5+
python:
6+
strategy:
7+
fail-fast: false
8+
matrix:
9+
version: ['3.11', '3.10', '3.9', '3.8']
10+
uses: ClangBuiltLinux/actions-workflows/.github/workflows/python_lint.yml@main
11+
with:
12+
python_version: ${{ matrix.version }}
513
shellcheck:
614
uses: ClangBuiltLinux/actions-workflows/.github/workflows/shellcheck.yml@main
715
shfmt:
816
uses: ClangBuiltLinux/actions-workflows/.github/workflows/shfmt.yml@main
9-
yapf:
10-
uses: ClangBuiltLinux/actions-workflows/.github/workflows/yapf.yml@main

0 commit comments

Comments
 (0)