File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,19 +103,15 @@ jobs:
103103
104104 - name : Run git config test in container
105105 run : |
106- docker exec ${{ steps.container.outputs.container_name }} bash -ic "
107- echo 'Load the Nix environment'
108- source /root/.nix-profile/etc/profile.d/nix.sh
109- echo 'Git test'
106+ docker exec ${{ steps.container.outputs.container_name }} \
107+ bash -c "PATH=~/.nix-profile/bin:\$PATH;
110108 git config --global user.name | grep -q 'PedroBrantes'
111109 "
112110
113111 - name : Run env test in container
114112 run : |
115- docker exec ${{ steps.container.outputs.container_name }} bash -ic "
116- echo 'Load the Nix environment'
117- source /root/.nix-profile/etc/profile.d/nix.sh
118- echo 'Env test'
113+ docker exec ${{ steps.container.outputs.container_name }} \
114+ bash -c "PATH=~/.nix-profile/bin:\$PATH;
119115 printenv EDITOR | grep -q 'nvim'
120116 "
121117
You can’t perform that action at this time.
0 commit comments