File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ jobs:
1515 - name : Run end-to-end tests in nix environment
1616 shell : nix shell nixpkgs#direnv --quiet --command bash {0}
1717 run : |
18- temp_dir="end-to-end"
1918 # Create a directory for testing.
19+ temp_dir="end-to-end"
2020 mkdir "$temp_dir" && cd "$temp_dir"
2121 # Download the template files.
2222 echo "# ----- nix flake init ----- #"
2323 nix flake init --template github:whisperpine/dev-templates#empty
2424 # Track the "flake.nix" file by git.
25- git add "$temp_dir/flake.nix"
25+ git -C "$GITHUB_WORKSPACE" add "$temp_dir/flake.nix"
2626 # Test the "nix develop" command.
2727 echo "# ----- nix develop ----- #"
28- nix develop
28+ nix develop --quiet
2929 just --version # test if "just" package is installed
3030 exit
3131 # Test the "direnv allow" command.
You can’t perform that action at this time.
0 commit comments