patches: mainline: Drop d8720235d5b5cad86c1f07f65117ef2a96f8bec7 #1389
Workflow file for this run
This file contains hidden or 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
| # Runs several checks | |
| # * check-matrix.py because GitHub limits a workflow matrix to 256 jobs | |
| # https://docs.github.com/en/actions/reference/usage-limits-billing-and-administration#usage-limits | |
| # * check-patches.py to make sure applying patches via TuxSuite works correctly | |
| # * several linters for Python consistency and correctness | |
| name: Lint checks | |
| on: [push, pull_request] | |
| jobs: | |
| check_matrices: | |
| name: Check workflow matrices | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: check-matrix.py | |
| run: python3 scripts/check-matrix.py | |
| check_generated_files: | |
| name: Check generated files | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: generate.py | |
| run: python3 generator/generate.py --check | |
| check_patch_series: | |
| name: Check patches series | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: check-patches.py | |
| run: python3 scripts/check-patches.py | |
| 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 }} |