File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 with :
3333 persist-credentials : false
3434
35- - name : Set up Python environment
36- uses : actions/setup-python@v5
37-
38- - name : Install dependencies
39- run : |
40- pip install pytest ruyaml
41-
4235 - name : Run tests
4336 run : |
44- pytest
37+ uvx --with ruyaml pytest
4538 env :
4639 GH_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 2929 with :
3030 persist-credentials : true
3131
32+ - run : pipx install uv
33+
3234 - name : Update actions.yml
33- shell : python
35+ shell : uv run {0}
3436 run : |
3537 import sys
3638 sys.path.append("./gateway/")
Original file line number Diff line number Diff line change 1+ # /// script
2+ # requires-python = ">=3.13"
3+ # dependencies = [
4+ # "ruyaml",
5+ # ]
6+ # ///
7+
18import os
29from datetime import date , timedelta
310from pathlib import Path
411from typing import Dict , NotRequired , TypedDict
512
613import ruyaml
714
15+
816class RefDetails (TypedDict ):
917 """
1018 Type definition for reference details of GitHub Actions for actions.yml
You can’t perform that action at this time.
0 commit comments