Skip to content

Commit 475e1c1

Browse files
Updated uv install and fix branch name
1 parent 16ba82a commit 475e1c1

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/sbom.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name: Generate SBOM
88
on:
99
workflow_dispatch: {}
1010
push:
11-
branches: ['main']
11+
branches: ['master']
1212
paths:
1313
- 'pyproject.toml'
1414
- 'uv.lock'
@@ -33,13 +33,11 @@ jobs:
3333
with:
3434
persist-credentials: false
3535

36-
- name: Set up Python 3.10
37-
uses: actions/setup-python@v5
38-
with:
39-
python-version: '3.10'
40-
4136
- name: Install uv
42-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
37+
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
38+
with:
39+
enable-cache: true
40+
python-version: "3.10"
4341

4442
- name: Sync dependencies
4543
run: |

0 commit comments

Comments
 (0)