Skip to content

Commit b45a632

Browse files
committed
debug
1 parent be57c18 commit b45a632

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

.github/workflows/ci.yaml

+28-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,33 @@ jobs:
2222
nix_path: nixpkgs=channel:nixpkgs-unstable
2323

2424
- name: Install Nix Packages
25-
run: nix-env -f shell.nix -i -A buildInputs
25+
run: |
26+
echo PATHs pre
27+
env -0 | while IFS='=' read -r -d '' n v; do
28+
printf "%s\n" "$n"
29+
done | sort | tee envs-pre
30+
tr ':' '\n' <<<$PATH | sort | tee path-pre
31+
tr ':' '\n' <<<$PYTHONPATH | sort | tee pythonpath-pre
32+
nix-env -f shell.nix -i -A buildInputs
33+
34+
echo PATHs post
35+
env -0 | while IFS='=' read -r -d '' n v; do
36+
printf "%s\n" "$n"
37+
done | sort | tee envs-post
38+
tr ':' '\n' <<<$PATH | sort | tee path-post
39+
tr ':' '\n' <<<$PYTHONPATH | sort | tee pythonpath-post
40+
diff -u envs-pre envs-post
41+
diff -u path-pre path-post
42+
diff -u pythonpath-pre pythonpath-post
43+
44+
- name: Check Nix Packages
45+
run: |
46+
echo PATHs
47+
env -0 | while IFS='=' read -r -d '' n v; do
48+
printf "%s\n" "$n"
49+
done | sort | tee envs-post
50+
tr ':' '\n' <<<$PATH | sort
51+
tr ':' '\n' <<<$PYTHONPATH | sort
2652
2753
- name: Install Go tools
2854
run: make tools
@@ -31,7 +57,7 @@ jobs:
3157
run: make verify
3258

3359
- name: Non Go Formatters
34-
run: ./.github/workflows/formatters.sh
60+
run: nix-shell --run ./.github/workflows/formatters.sh
3561

3662
- name: Install ZFS
3763
run: sudo apt-get -y update && sudo apt-get -y install zfsutils-linux

0 commit comments

Comments
 (0)