Skip to content

Commit 1dc9c5e

Browse files
committed
Resolve test.yml
1 parent fd5009b commit 1dc9c5e

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
@@ -18,6 +18,8 @@ on:
1818
# cron every week on monday
1919
- cron: "0 0 * * 1"
2020

21+
permissions: {}
22+
2123
env:
2224
UV_NO_SYNC: true
2325

@@ -62,13 +64,16 @@ jobs:
6264
UV_RESOLUTION: ${{ matrix.uv-resolution }}
6365
steps:
6466
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
67+
with:
68+
persist-credentials: false
6569
- name: Set up Python
6670
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
6771
with:
6872
python-version: ${{ matrix.python-version }}
6973
- name: Setup uv
7074
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
7175
with:
76+
version: "0.11.4"
7277
enable-cache: true
7378
cache-dependency-glob: |
7479
pyproject.toml
@@ -102,12 +107,15 @@ jobs:
102107
runs-on: ubuntu-latest
103108
steps:
104109
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
110+
with:
111+
persist-credentials: false
105112
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
106113
with:
107114
python-version-file: ".python-version"
108115
- name: Setup uv
109116
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
110117
with:
118+
version: "0.11.4"
111119
enable-cache: true
112120
cache-dependency-glob: |
113121
pyproject.toml

0 commit comments

Comments
 (0)