Merge pull request #239 from nathanchance/fix-new-ruff-pth207 #266
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run linters on code in repo | |
# * shellcheck and shfmt for shell scripts | |
# * various tools for Python scripts | |
name: Lint checks | |
on: [push, pull_request] | |
jobs: | |
python: | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ['3.11', '3.10', '3.9', '3.8'] | |
uses: ClangBuiltLinux/actions-workflows/.github/workflows/python_lint.yml@main | |
with: | |
python_version: ${{ matrix.version }} | |
shellcheck: | |
uses: ClangBuiltLinux/actions-workflows/.github/workflows/shellcheck.yml@main | |
shfmt: | |
uses: ClangBuiltLinux/actions-workflows/.github/workflows/shfmt.yml@main |