File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33
4+
45name : Python package
56
67on :
78 push :
8- branches : ['** ']
9+ branches : ['main ']
910 pull_request :
1011 branches : ['main']
11-
1212jobs :
1313 ruff :
1414 runs-on : ubuntu-latest
15-
1615 steps :
1716 - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
18- with :
19- # On PRs, lint the head commit directly to avoid stale merge-ref confusion.
20- ref : ${{ github.event.pull_request.head.sha || github.sha }}
21- - name : Set up Python 3.13
17+ - name : Set up Python 3.14
2218 uses : actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
2319 with :
24- python-version : ' 3.13 '
20+ python-version : ' 3.14 '
2521 - name : Install Ruff
2622 run : |
2723 python -m pip install --upgrade pip
3329 run : |
3430 ruff format --check .
3531
32+
3633 build :
3734 needs : ruff
3835 runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments