Skip to content

Commit 83efc43

Browse files
Use direnv for installing uv dependencies
1 parent 1ec7978 commit 83efc43

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/test.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323

2424
- name: Install dependencies.
2525
run: |
26-
sudo apt install uv python3
27-
uv pip install -r requirements.txt
26+
sudo apt install python3 python3-pip direnv
27+
curl -LsSf https://astral.sh/uv/install.sh | sh
28+
direnv allow
2829
2930
- name: Run ansible-lint
3031
run: "ansible-lint"
@@ -40,8 +41,9 @@ jobs:
4041

4142
- name: Install dependencies.
4243
run: |
43-
sudo apt install uv python3
44-
uv pip install -r requirements.txt
44+
sudo apt install python3 python3-pip direnv
45+
curl -LsSf https://astral.sh/uv/install.sh | sh
46+
direnv allow
4547
ansible-galaxy install -r requirements.yml
4648
4749
- name: Run molecule

0 commit comments

Comments
 (0)