File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,24 @@ jobs:
16
16
with :
17
17
submodules : recursive
18
18
19
- - name : build venv
19
+ - name : upgrade dependencies
20
20
run : |
21
21
docker run --rm \
22
22
--mount type=bind,source=./,target=/app \
23
23
-t hjwp/obeythetestinggoat-book-tester:latest \
24
24
bash -c "uv pip install --upgrade ."
25
25
26
+ - name : git mark dirs safe (due to volume mount perms issue)
27
+ run : |
28
+ docker run --rm \
29
+ --mount type=bind,source=./,target=/app \
30
+ -t hjwp/obeythetestinggoat-book-tester:latest \
31
+ git config --global --add safe.directory /app
32
+ docker run --rm \
33
+ --mount type=bind,source=./,target=/app \
34
+ -t hjwp/obeythetestinggoat-book-tester:latest \
35
+ bash -c "ls -d source/*/superlists/ | xargs -n1 git config --global --add safe.directory"
36
+
26
37
- name : test chapter 1
27
38
run : |
28
39
docker run --rm \
Original file line number Diff line number Diff line change @@ -28,8 +28,7 @@ RUN ln -s $HOME/.cargo/bin/uv /usr/bin/uv
28
28
29
29
RUN git config --global user.email
"[email protected] " && \
30
30
git config --global user.name "Elspeth See-Eye" && \
31
- git config --global init.defaultBranch main && \
32
- git config --global --add safe.directory /app
31
+ git config --global init.defaultBranch main
33
32
34
33
WORKDIR /app
35
34
RUN uv venv /venv
You can’t perform that action at this time.
0 commit comments