Skip to content

Commit d25b4ea

Browse files
committed
chore(workflow): update permissions and cache settings
Added read permissions for contents in the workflow. Changed pip cache setting from 'pipintegration' to 'pip'. Adjusted formatting by adding a newline at the end of the file.
1 parent 36b68f4 commit d25b4ea

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test-module.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- review_requested
88
workflow_dispatch:
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
module:
1215
name: Sanity & Unit Tests
@@ -129,7 +132,7 @@ jobs:
129132
uses: actions/setup-python@v5
130133
with:
131134
python-version: '3.10'
132-
cache: 'pipintegration'
135+
cache: 'pip'
133136

134137
- name: Install dependencies
135138
run: |
@@ -248,4 +251,4 @@ jobs:
248251
with:
249252
name: nexus-logs
250253
path: /tmp/nexus-logs
251-
retention-days: 5
254+
retention-days: 5

0 commit comments

Comments
 (0)