sketch of how default kernel will change #1325
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
name: Lint | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- name: Set up uv | |
uses: astral-sh/setup-uv@v2 | |
with: | |
enable-cache: true | |
- name: Install dependencies | |
run: uv pip install pre-commit ".[all]" --system | |
- name: Run pre-commit | |
run: pre-commit run --all-files --show-diff-on-failure | |
- name: Pyright | |
uses: jakebailey/pyright-action@v2 | |
with: | |
version: 1.1.305 # is there any reason not to use the latest? |