Skip to content

Commit f5b3beb

Browse files
authored
RHAIENG-304, RHAIENG-786: chore(ci): don't activate the uv env in security.yaml, turns out rabbit was on the right track (opendatahub-io#2223)
* opendatahub-io#2217 (comment)
1 parent f465c72 commit f5b3beb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/security.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ jobs:
1616
security-events: write
1717
steps:
1818

19-
- name: Checkout code
20-
uses: actions/checkout@v5
21-
2219
# https://github.com/astral-sh/setup-uv
2320
- name: Install the latest version of uv
2421
uses: astral-sh/setup-uv@v6
2522
with:
2623
version: "latest"
27-
python-version: "3.12"
24+
activate-environment: false
25+
ignore-empty-workdir: true
2826
enable-cache: false
29-
activate-environment: true
27+
28+
- name: Checkout code
29+
uses: actions/checkout@v5
3030

3131
# Trivy does not support pylock.toml https://github.com/aquasecurity/trivy/discussions/9408
3232
- run: find . -name pyproject.toml -execdir uv lock \;

0 commit comments

Comments
 (0)