File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,20 +98,18 @@ jobs:
9898
9999 - name : Run home-manager switch
100100 run : |
101- docker exec ${{ steps.container.outputs.container_name }} bash \
101+ docker run --rm ${{ steps.container.outputs.container_name }} \
102102 home-manager switch
103103
104104 - name : Run git config test in container
105105 run : |
106- docker exec ${{ steps.container.outputs.container_name }} \
107- bash -c "PATH=~/.nix-profile/bin:\$PATH;
106+ docker run --rm ${{ steps.container.outputs.container_name }} \
108107 git config --global user.name | grep -q 'PedroBrantes'
109108 "
110109
111110 - name : Run env test in container
112111 run : |
113- docker exec ${{ steps.container.outputs.container_name }} \
114- bash -c "PATH=~/.nix-profile/bin:\$PATH;
112+ docker run --rm ${{ steps.container.outputs.container_name }} \
115113 printenv EDITOR | grep -q 'nvim'
116114 "
117115
You can’t perform that action at this time.
0 commit comments