Skip to content

Commit 54ec281

Browse files
authored
A bit more
Signed-off-by: Bradley Reynolds <[email protected]>
1 parent 1da80de commit 54ec281

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/python.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,25 @@ jobs:
3737

3838
test:
3939
runs-on: ubuntu-latest
40+
permissions:
41+
contents: read
42+
id-token: write
4043

4144
steps:
4245
- name: Checkout repository
4346
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
47+
with:
48+
persist-credentials: false
49+
50+
- name: Install uv
51+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
52+
with:
53+
enable-cache: true
4454

4555
- name: Setup Python
46-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
56+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
4757
with:
48-
python-version: 3.x
49-
cache: pip
50-
cache-dependency-path: pyproject.toml
58+
python-version-file: "pyproject.toml"
5159

5260
- name: Install dependencies
5361
run: |

0 commit comments

Comments
 (0)