Skip to content

Commit f9c7e15

Browse files
committed
Resolve test.yml
1 parent 30d1e67 commit f9c7e15

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

@@ -52,13 +54,16 @@ jobs:
5254
UV_RESOLUTION: ${{ matrix.uv-resolution }}
5355
steps:
5456
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
57+
with:
58+
persist-credentials: false
5559
- name: Set up Python
5660
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5761
with:
5862
python-version: ${{ matrix.python-version }}
5963
- name: Setup uv
6064
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
6165
with:
66+
version: "0.11.4"
6267
enable-cache: true
6368
cache-dependency-glob: |
6469
pyproject.toml
@@ -90,12 +95,15 @@ jobs:
9095
runs-on: ubuntu-latest
9196
steps:
9297
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
98+
with:
99+
persist-credentials: false
93100
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
94101
with:
95102
python-version-file: ".python-version"
96103
- name: Setup uv
97104
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
98105
with:
106+
version: "0.11.4"
99107
enable-cache: true
100108
cache-dependency-glob: |
101109
pyproject.toml

0 commit comments

Comments
 (0)