Skip to content

Commit 57b1efb

Browse files
committed
Resolve test.yml
1 parent 7fa16d4 commit 57b1efb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ on:
2121
required: false
2222
default: 'false'
2323

24+
permissions: {}
25+
2426
env:
2527
UV_NO_SYNC: true
2628

@@ -59,13 +61,16 @@ jobs:
5961
GITHUB_CONTEXT: ${{ toJson(github) }}
6062
run: echo "$GITHUB_CONTEXT"
6163
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
64+
with:
65+
persist-credentials: false
6266
- name: Set up Python
6367
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
6468
with:
6569
python-version: ${{ matrix.python-version }}
6670
- name: Setup uv
6771
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
6872
with:
73+
version: "0.11.4"
6974
enable-cache: true
7075
cache-dependency-glob: |
7176
pyproject.toml
@@ -100,12 +105,15 @@ jobs:
100105
GITHUB_CONTEXT: ${{ toJson(github) }}
101106
run: echo "$GITHUB_CONTEXT"
102107
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
108+
with:
109+
persist-credentials: false
103110
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
104111
with:
105112
python-version-file: ".python-version"
106113
- name: Setup uv
107114
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
108115
with:
116+
version: "0.11.4"
109117
enable-cache: true
110118
cache-dependency-glob: |
111119
pyproject.toml

0 commit comments

Comments
 (0)