File tree Expand file tree Collapse file tree 5 files changed +426
-1
lines changed
Expand file tree Collapse file tree 5 files changed +426
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Copilot Setup Steps
2+
3+ # Automatically run the setup steps when they are changed to allow for easy validation, and
4+ # allow manual testing through the repository's "Actions" tab
5+ on :
6+ workflow_dispatch :
7+ push :
8+ paths :
9+ - .github/workflows/copilot-setup-steps.yml
10+ pull_request :
11+ paths :
12+ - .github/workflows/copilot-setup-steps.yml
13+
14+ jobs :
15+ # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
16+ copilot-setup-steps :
17+ runs-on : ubuntu-latest
18+
19+ # Set the permissions to the lowest permissions possible needed for your steps.
20+ # Copilot will be given its own token for its operations.
21+ permissions :
22+ contents : read
23+
24+ # You can define any steps you want, and they will run before the agent starts.
25+ # If you do not check out your code, Copilot will do this for you.
26+ steps :
27+ - name : Checkout code
28+ uses : actions/checkout@v4
29+
30+ - name : Set up Python
31+ uses : actions/setup-python@v5
32+ with :
33+ python-version : " 3.11"
34+ cache : pip
35+
36+ - name : Set up Node.js
37+ uses : actions/setup-node@v4
38+ with :
39+ node-version : " 20"
40+ cache : npm
41+
42+ - name : Install uv
43+ run : pip install uv
44+
45+ - name : Install pre-commit and pre-commit-uv
46+ run : pip install pre-commit pre-commit-uv
47+
48+ - name : Install tox and tox-uv
49+ run : pip install tox tox-uv
50+
51+ - name : Install Node.js dependencies
52+ run : npm install
Original file line number Diff line number Diff line change 1919 - id : trailing-whitespace
2020
2121 - repo : https://github.com/astral-sh/ruff-pre-commit
22- rev : v0.14.9
22+ rev : v0.14.11
2323 hooks :
2424 - id : ruff
2525 args : [--fix]
You can’t perform that action at this time.
0 commit comments