File tree Expand file tree Collapse file tree 1 file changed +31
-2
lines changed Expand file tree Collapse file tree 1 file changed +31
-2
lines changed Original file line number Diff line number Diff line change 22
22
nix_path : nixpkgs=channel:nixpkgs-unstable
23
23
24
24
- name : Install Nix Packages
25
- run : nix-env -f shell.nix -i -A buildInputs
25
+ run : |
26
+ set -x
27
+ echo PATHs pre
28
+ env -0 | while IFS='=' read -r -d '' n v; do
29
+ printf "%s\n" "$n"
30
+ done | sort | tee envs-pre
31
+ tr ':' '\n' <<<$PATH | sort | tee path-pre
32
+ tr ':' '\n' <<<$PYTHONPATH | sort | tee pythonpath-pre
33
+
34
+ nix-env -f shell.nix -i -A buildInputs
35
+
36
+ echo PATHs post
37
+ env -0 | while IFS='=' read -r -d '' n v; do
38
+ printf "%s\n" "$n"
39
+ done | sort | tee envs-post
40
+ tr ':' '\n' <<<$PATH | sort | tee path-post
41
+ tr ':' '\n' <<<$PYTHONPATH | sort | tee pythonpath-post
42
+ diff -u envs-pre envs-post
43
+ diff -u path-pre path-post
44
+ diff -u pythonpath-pre pythonpath-post
45
+
46
+ - name : Check Nix Packages
47
+ run : |
48
+ set -x
49
+ echo PATHs
50
+ env -0 | while IFS='=' read -r -d '' n v; do
51
+ printf "%s\n" "$n"
52
+ done | sort | tee envs-post
53
+ tr ':' '\n' <<<$PATH | sort
54
+ tr ':' '\n' <<<$PYTHONPATH | sort
26
55
27
56
- name : Install Go tools
28
57
run : make tools
31
60
run : make verify
32
61
33
62
- name : Non Go Formatters
34
- run : ./.github/workflows/formatters.sh
63
+ run : nix-shell --run ./.github/workflows/formatters.sh
35
64
36
65
- name : Install ZFS
37
66
run : sudo apt-get -y update && sudo apt-get -y install zfsutils-linux
You can’t perform that action at this time.
0 commit comments