Skip to content

Commit 71e837e

Browse files
committed
ci: add nix to the ci pipeline
1 parent 4f214f1 commit 71e837e

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,17 @@ jobs:
2121
test:
2222
name: Test
2323
runs-on: ubuntu-latest
24+
defaults:
25+
run:
26+
shell: nix develop --command bash {0}
2427
permissions:
2528
contents: read # required for actions/checkout
2629
steps:
2730
- name: Check out the repo
2831
uses: actions/checkout@v4
2932

30-
- name: Setup python
31-
uses: actions/setup-python@v5
32-
with:
33-
python-version: "3.10"
34-
35-
- name: Install uv
36-
uses: astral-sh/setup-uv@v5
37-
with:
38-
version: "0.7.17"
33+
- name: Install nix
34+
uses: DeterminateSystems/nix-installer-action@main
3935

4036
- name: Download dependencies
4137
run: make init

0 commit comments

Comments
 (0)