File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+
3+ defaults :
4+ run :
5+ shell : bash
6+
7+ jobs :
8+ lint :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ - name : Set up Python
13+ uses : actions/setup-python@v5
14+ with :
15+ python-version : ' 3.x'
16+ - name : Install the code linting and formatting tool Ruff
17+ run : pipx install ruff
18+ - name : Lint code with Ruff
19+ run : ruff check --output-format=github --target-version=py39
20+ - name : Check code formatting with Ruff
21+ run : ruff format --diff --target-version=py39
22+ continue-on-error : true
23+
24+ test :
25+ runs-on : ubuntu-latest
26+ strategy :
27+ fail-fast : false
28+ matrix :
29+ python-version :
30+ - " 3.8"
31+ - " 3.9"
32+ - " 3.10"
33+ - " 3.11"
34+ - " 3.12"
35+ - " 3.13"
36+ steps :
37+ - uses : actions/checkout@v4
38+ - uses : actions/setup-python@v4
39+ with :
40+ python-version : ${{ matrix.python-version }}
41+ - run : pip install build setuptools wheel
42+ - run : python -m build
You can’t perform that action at this time.
0 commit comments