Skip to content

Commit e038f8e

Browse files
committed
Update own linting to use Windows/Linux/MacOS for testing
1 parent 99ea555 commit e038f8e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/lint.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@ on:
88
schedule:
99
- cron: '22 3 * * 2'
1010
workflow_dispatch:
11+
1112
jobs:
1213
lint:
13-
runs-on: ubuntu-latest
14+
runs-on: ${{ matrix.os }}
1415
strategy:
1516
matrix:
1617
linter: ['flake8', 'pylint', 'ruff', 'mypy', 'pytype', 'pyright', 'fixit']
17-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
18+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
19+
os: [ubuntu-latest, windows-latest, macos-latest]
1820
fail-fast: false
21+
1922
steps:
2023
# install dependencies for all linters, then run the linter, so we don't get import failures when the linters scan the code
2124
# upgrade pip, so that we can install flake8_sarif_formatter properly from the git repo

0 commit comments

Comments
 (0)