File tree Expand file tree Collapse file tree 3 files changed +18
-60
lines changed
Expand file tree Collapse file tree 3 files changed +18
-60
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,23 @@ jobs:
1212 ubuntu :
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v4
15+ - name : Clone repository
16+ uses : actions/checkout@v5
1617
17- - name : Build River
18- uses : ./.github/actions/install-env
19- with :
20- python-version : " 3.13 "
21- build-root : false
18+ - name : Install uv
19+ uses : astral-sh/setup-uv@v6
20+
21+ - name : Install dependencies
22+ run : uv sync --locked --all-extras --dev
2223
23- - name : MyPy type check
24- run : poetry run mypy
24+ - name : Run tests
25+ run : uv run pytest
2526
26- - name : Ruff code linting
27- run : poetry run ruff check --output-format=github river/
27+ - name : Install pre-commit
28+ uses : actions/cache@v3
29+ with :
30+ path : ~/.cache/pre-commit/
31+ key : pre-commit|${{ hashFiles('.pre-commit-config.yaml') }}
2832
29- - name : Ruff code formatting
30- run : poetry run ruff format --check river/
33+ - name : Run pre-commit
34+ run : uv run pre-commit run --all-files
Original file line number Diff line number Diff line change 1- name : Clear all Github Actions caches
1+ name : delete-github-action-caches
2+
23on :
34 workflow_dispatch :
45 schedule :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments