File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : pre-commit
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ pre-commit :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v4
16+
17+ - name : Install uv
18+ uses : astral-sh/setup-uv@v3
19+
20+ - name : Set up Python from .python-version
21+ uses : actions/setup-python@v5
22+ with :
23+ python-version-file : " .python-version"
24+
25+ - name : Install dependencies
26+ run : uv sync
27+
28+ - name : Run pre-commit
29+ run : uv run pre-commit run --all-files
Original file line number Diff line number Diff line change 11# bears-flight-simulation
22
3+ [ ![ pre-commit] ( https://github.com/bears-space/bears-flight-simulation/actions/workflows/pre-commit.yaml/badge.svg )] ( https://github.com/bears-space/bears-flight-simulation/actions/workflows/pre-commit.yaml )
34[ ![ pytest] ( https://github.com/bears-space/bears-flight-simulation/actions/workflows/pytest.yaml/badge.svg )] ( https://github.com/bears-space/bears-flight-simulation/actions/workflows/pytest.yaml )
45[ ![ Ruff] ( https://github.com/bears-space/bears-flight-simulation/actions/workflows/ruff.yaml/badge.svg )] ( https://github.com/bears-space/bears-flight-simulation/actions/workflows/ruff.yaml )
56
You can’t perform that action at this time.
0 commit comments