Skip to content

Commit 0df935d

Browse files
authored
Fix permissions (#81)
1 parent 25730e3 commit 0df935d

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches:
77
- main
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
ruff:
1114
runs-on: ubuntu-latest
@@ -25,15 +28,15 @@ jobs:
2528
- "3.13"
2629
- "3.14"
2730
steps:
28-
- uses: actions/checkout@v4
29-
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v5
31-
with:
32-
python-version: ${{ matrix.python-version }}
33-
- name: Install the latest version of uv
34-
uses: astral-sh/setup-uv@v5
35-
with:
36-
version: latest
37-
enable-cache: true
38-
- name: Run pytest
39-
run: uv run make test
31+
- uses: actions/checkout@v4
32+
- name: Set up Python ${{ matrix.python-version }}
33+
uses: actions/setup-python@v5
34+
with:
35+
python-version: ${{ matrix.python-version }}
36+
- name: Install the latest version of uv
37+
uses: astral-sh/setup-uv@v5
38+
with:
39+
version: latest
40+
enable-cache: true
41+
- name: Run pytest
42+
run: uv run make test

0 commit comments

Comments
 (0)