Skip to content

Commit bcff254

Browse files
NDevanathanCopilot
andauthored
Update .github/workflows/pre-commit.yml
Switching to uv setup action for security Co-authored-by: Copilot <[email protected]>
1 parent e9f58f9 commit bcff254

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v4
12-
- name: Install uv
13-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
14-
env:
15-
UV_COMPILE_BYTECODE: 1
16-
- name: Add uv to PATH
17-
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
12+
- name: Set up uv
13+
uses: astral-sh/setup-uv@v1
14+
with:
15+
compile_bytecode: true
1816
- name: Cache uv dependencies
1917
uses: actions/cache@v4
2018
with:

0 commit comments

Comments
 (0)