Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Lint

permissions:
contents: read

on:
push:
branches:
- main
pull_request:
branches:
schedule:
- cron: '30 5 * * *' # every day at 5:30 UTC

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v3
with:
python-version: "3.11"

- name: Install dependencies
run: |
python -m pip install -e ".[test]"

- name: Install uv
run: |
python -m pip install uv

- uses: pre-commit/action@v3.0.1
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ jobs:
run: |
python -m pip install uv

- uses: pre-commit/action@v3.0.1

- name: Test
run: |
export ISOLATE_PYENV_EXECUTABLE=pyenv/bin/pyenv
Expand Down
Loading