style: format workflow

This commit is contained in:
Julien Oculi 2024-01-18 11:11:38 +01:00
parent 0a024b3ab1
commit befc43ed81

View file

@ -11,7 +11,7 @@ jobs:
steps: steps:
- name: Test checkout commands (init) - name: Test checkout commands (init)
run: git init /workspace/julien.oculi/test-forgejo-runner run: git init /workspace/julien.oculi/test-forgejo-runner
- name: Test checkout commands (remote) - name: Test checkout commands (remote)
run: git remote add origin http://localhost:10001/julien.oculi/test-forgejo-runner run: git remote add origin http://localhost:10001/julien.oculi/test-forgejo-runner
@ -22,17 +22,17 @@ jobs:
run: env run: env
- name: Debug git config (global) - name: Debug git config (global)
run: git config --global -l run: git config --global -l
- name: Debug git config (system) - name: Debug git config (system)
run: git config --system -l run: git config --system -l
- name: Debug git config (local) - name: Debug git config (local)
run: git config --local -l run: git config --local -l
- name: Debug git config (worktree) - name: Debug git config (worktree)
run: git config --worktree -l run: git config --worktree -l
# - name: Test checkout commands (fetch) # - name: Test checkout commands (fetch)
# run: git -c protocol.version=2 fetch -v --no-tags --prune --no-recurse-submodules --depth=1 origin +2b3aefde1b6cbdf9e0a3bce32f86a0d069fc7c37:refs/remotes/origin/main # run: git -c protocol.version=2 fetch -v --no-tags --prune --no-recurse-submodules --depth=1 origin +2b3aefde1b6cbdf9e0a3bce32f86a0d069fc7c37:refs/remotes/origin/main
@ -40,4 +40,4 @@ jobs:
# run: curl -vL --create-dirs -o /var/run/act/actions/actions-checkout@v4/dist/index.js https://raw.githubusercontent.com/actions/checkout/main/dist/index.js # run: curl -vL --create-dirs -o /var/run/act/actions/actions-checkout@v4/dist/index.js https://raw.githubusercontent.com/actions/checkout/main/dist/index.js
# - name: Setup repo # - name: Setup repo
# uses: actions/checkout@v4 # uses: actions/checkout@v4