ci: split test checkout commands
Some checks failed
Named workflow / test (push) Failing after 14s

This commit is contained in:
Julien Oculi 2024-01-17 17:37:40 +01:00
parent 9b10cd8125
commit 60440beb34

View file

@ -15,13 +15,18 @@ jobs:
- name: Debug get user and shell - name: Debug get user and shell
run: users; whoami; echo $SHELL run: users; whoami; echo $SHELL
- name: Test checkout commands - name: Test checkout commands (init)
run: "\ run: git init /workspace/julien.oculi/test-forgejo-runner
git init /workspace/julien.oculi/test-forgejo-runner && \
git remote add origin http://localhost:10001/julien.oculi/test-forgejo-runner && \ - name: Test checkout commands (remote)
git config --local http.http://localhost:10001/.extraheader AUTHORIZATION: basic *** && \ run: git remote add origin http://localhost:10001/julien.oculi/test-forgejo-runner
git git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +2b3aefde1b6cbdf9e0a3bce32f86a0d069fc7c37:refs/remotes/origin/main"
- name: Test checkout commands (config)
run: "git config --local http.http://localhost:10001/.extraheader AUTHORIZATION: basic ***"
- name: Test checkout commands (fetch)
run: git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +2b3aefde1b6cbdf9e0a3bce32f86a0d069fc7c37:refs/remotes/origin/main
# - name: Debug runner (act help) # - name: Debug runner (act help)
# run: act --help # run: act --help