Skip to content

Commit 0f0de57

Browse files
committed
fix(ci): fix syntax
1 parent 7c51dd1 commit 0f0de57

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,18 @@ jobs:
9999
100100
- name: Run home-manager switch
101101
run: |
102-
docker run exec ${{ steps.container.outputs.container_name }} \
102+
docker exec ${{ steps.container.outputs.container_name }} \
103103
home-manager switch
104104
105105
- name: Run git config test in container
106106
run: |
107-
docker run exec ${{ steps.container.outputs.container_name }} \
107+
docker exec ${{ steps.container.outputs.container_name }} \
108108
git config --global user.name | grep -q 'PedroBrantes'
109109
"
110110
111111
- name: Run env test in container
112112
run: |
113-
docker run exec ${{ steps.container.outputs.container_name }} \
113+
docker exec ${{ steps.container.outputs.container_name }} \
114114
printenv EDITOR | grep -q 'nvim'
115115
"
116116

nix_test_env/docker_entrypoint.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ set -euo pipefail
33

44
export __HM_SESS_VARS_SOURCED="${__HM_SESS_VARS_SOURCED:-0}"
55

6-
ls -R /root/.nix-profile
7-
cat /root/.nix-channels
8-
ls -R /root/.config
9-
106
source /root/.nix-profile/etc/profile.d/nix.sh
117

128
if command -v home-manager &>/dev/null; then
@@ -21,8 +17,4 @@ if [[ $# -eq 0 ]]; then
2117
set -- tail -f /dev/null
2218
fi
2319

24-
ls -R /root/.nix-profile
25-
cat /root/.nix-channels
26-
ls -R /root/.config
27-
2820
exec "$@"

0 commit comments

Comments
 (0)