Runs
Check#1
- Workflow
- .github/workflows/check.yml
- Event
- push
- Ref
- main
- Commit
- 114d5bd
- Actor
- dynd
- Created
- Queued
- 0:01
- Duration
- 3:22
links
Took 0:08Runs on self-hostedhomelabRunner homelab-2Timeout 360 minSteps
200 linesยท Log complete
Set up job
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v5' (SHA:fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09)
Download action repository 'lycheeverse/lychee-action@v2' (SHA:e7477775783ea5526144ba13e8db5eec57747ce8)
Complete job name: links
Run actions/checkout@v5
โธ Run actions/checkout@v5
with:
repository: dynd/modern-swift
token: ***
ssh-strict: true
ssh-user: git
persist-credentials: true
clean: true
sparse-checkout-cone-mode: true
fetch-depth: 1
fetch-tags: false
show-progress: true
lfs: false
submodules: false
set-safe-directory: true
allow-unsafe-pr-checkout: false
Syncing repository: dynd/modern-swift
โธ Getting Git version info
Working directory is '/home/bsa/.local/share/github-runner-xpd-2/_work/modern-swift/modern-swift'
[command]/usr/bin/git version
git version 2.53.0
Copying '/home/bsa/.gitconfig' to '/home/bsa/.local/share/github-runner-xpd-2/_work/_temp/40fffe9b-eb31-41b3-bc59-07ceaf31984e/.gitconfig'
Temporarily overriding HOME='/home/bsa/.local/share/github-runner-xpd-2/_work/_temp/40fffe9b-eb31-41b3-bc59-07ceaf31984e' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/bsa/.local/share/github-runner-xpd-2/_work/modern-swift/modern-swift
Deleting the contents of '/home/bsa/.local/share/github-runner-xpd-2/_work/modern-swift/modern-swift'
โธ Initializing the repository
[command]/usr/bin/git init /home/bsa/.local/share/github-runner-xpd-2/_work/modern-swift/modern-swift
Initialized empty Git repository in /home/bsa/.local/share/github-runner-xpd-2/_work/modern-swift/modern-swift/.git/
[command]/usr/bin/git remote add origin https://git.cafe/dynd/modern-swift
โธ Disabling automatic garbage collection
[command]/usr/bin/git config --local gc.auto 0
โธ Setting up auth
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/git\.cafe\/\.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/git\.cafe\/\.extraheader' && git config --local --unset-all 'http.https://git.cafe/.extraheader' || :"
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
[command]/usr/bin/git config --local http.https://git.cafe/.extraheader AUTHORIZATION: basic ***
โธ Fetching the repository
[command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +114d5bd467f7a8dd7eeec941b56ec1a873444dc6:refs/remotes/origin/main
From https://git.cafe/dynd/modern-swift
* [new ref] 114d5bd467f7a8dd7eeec941b56ec1a873444dc6 -> origin/main
โธ Determining the checkout info
[command]/usr/bin/git sparse-checkout disable
[command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
โธ Checking out the ref
[command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
Reset branch 'main'
branch 'main' set up to track 'origin/main'.
[command]/usr/bin/git log -1 --format=%H
114d5bd467f7a8dd7eeec941b56ec1a873444dc6
Run lycheeverse/lychee-action@v2
โธ Run lycheeverse/lychee-action@v2
with:
args: --offline --include-fragments --no-progress README.md 'skills/**/*.md'
debug: false
fail: true
failIfEmpty: true
format: markdown
jobSummary: true
lycheeVersion: v0.24.2
output: lychee/out.md
checkbox: true
token: ***
workingDirectory: .
โธ Run # Install into $RUNNER_TEMP (not $HOME) so the install path is stable
# Install into $RUNNER_TEMP (not $HOME) so the install path is stable
# across composite steps. On some runners $HOME is overridden per step
# (e.g. actions/checkout temporarily sets it), which made the PATH
# entry from one step and the install in another step diverge.
echo "$RUNNER_TEMP/lychee/bin" >> "$GITHUB_PATH"
mkdir -p "$RUNNER_TEMP/lychee/bin"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
โธ Run # Create a temporary directory for downloads and extraction
# Create a temporary directory for downloads and extraction
TEMP_DIR="${RUNNER_TEMP}/lychee-download"
rm -rf "${TEMP_DIR}" && mkdir -p "${TEMP_DIR}"
cd "${TEMP_DIR}"
ARCH=$(uname -m)
# Determine filename and download URL based on version
if [[ "${LYCHEE_VERSION}" =~ ^v0\.0|^v0\.1[0-5]\. ]]; then
FILENAME="lychee-${LYCHEE_VERSION}-${ARCH}-unknown-linux-gnu.tar.gz"
DOWNLOAD_URL="https://github.com/lycheeverse/lychee/releases/download/${LYCHEE_VERSION}/${FILENAME}"
else
FILENAME="lychee-${ARCH}-unknown-linux-gnu.tar.gz"
if [[ "${LYCHEE_VERSION}" == 'nightly' ]]; then
DOWNLOAD_URL="https://github.com/lycheeverse/lychee/releases/download/nightly/${FILENAME}"
elif [[ "${LYCHEE_VERSION}" == 'latest' ]]; then
DOWNLOAD_URL="https://github.com/lycheeverse/lychee/releases/latest/download/${FILENAME}"
else
DOWNLOAD_URL="https://github.com/lycheeverse/lychee/releases/download/lychee-${LYCHEE_VERSION}/${FILENAME}"
fi
fi
echo "Downloading from: ${DOWNLOAD_URL}"
curl -sfLO "${DOWNLOAD_URL}"
echo "Extracting ${FILENAME}"
tar -xvzf "${FILENAME}"
rm -rv "${FILENAME}"
# Detect if lychee binary is in a subfolder within the tar.gz
if ! [[ -f "${TEMP_DIR}/lychee" ]]; then
TEMP_DIR="$(echo "${TEMP_DIR}"/lychee-*)" # need `echo` to evaluate glob
fi
if ! [[ -f "${TEMP_DIR}/lychee" ]]; then
echo "Cannot find lychee binary in $TEMP_DIR. Did the archive structure change?" >&2
exit 1
fi
# Output temp directory for use in later steps
echo "temp_dir=${TEMP_DIR}" >> $GITHUB_OUTPUT
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
LYCHEE_VERSION: v0.24.2
Downloading from: https://github.com/lycheeverse/lychee/releases/download/lychee-v0.24.2/lychee-x86_64-unknown-linux-gnu.tar.gz
Extracting lychee-x86_64-unknown-linux-gnu.tar.gz
lychee-x86_64-unknown-linux-gnu/
lychee-x86_64-unknown-linux-gnu/README.md
lychee-x86_64-unknown-linux-gnu/docs/
lychee-x86_64-unknown-linux-gnu/docs/lychee.1
lychee-x86_64-unknown-linux-gnu/docs/TROUBLESHOOTING.md
lychee-x86_64-unknown-linux-gnu/docs/PRE_COMMIT.md
lychee-x86_64-unknown-linux-gnu/complete/
lychee-x86_64-unknown-linux-gnu/complete/_lychee.ps1
lychee-x86_64-unknown-linux-gnu/complete/lychee.elv
lychee-x86_64-unknown-linux-gnu/complete/lychee.fish
lychee-x86_64-unknown-linux-gnu/complete/lychee.bash
lychee-x86_64-unknown-linux-gnu/complete/_lychee
lychee-x86_64-unknown-linux-gnu/lychee
removed 'lychee-x86_64-unknown-linux-gnu.tar.gz'
โธ Run # Install lychee from the temporary directory
# Install lychee from the temporary directory
install -t "$RUNNER_TEMP/lychee/bin" -D "/home/bsa/.local/share/github-runner-xpd-2/_work/_temp/lychee-download/lychee-x86_64-unknown-linux-gnu/lychee"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
โธ Run /home/bsa/.local/share/github-runner-xpd-2/_work/_actions/lycheeverse/lychee-action/v2/entrypoint.sh
/home/bsa/.local/share/github-runner-xpd-2/_work/_actions/lycheeverse/lychee-action/v2/entrypoint.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
INPUT_TOKEN: ***
INPUT_ARGS: --offline --include-fragments --no-progress README.md 'skills/**/*.md'
INPUT_DEBUG: false
INPUT_FAIL: true
INPUT_FAILIFEMPTY: true
INPUT_FORMAT: markdown
INPUT_JOBSUMMARY: true
INPUT_CHECKBOX: true
INPUT_OUTPUT: lychee/out.md
SUMMARY_URL: https://git.cafe/dynd/modern-swift/actions/runs/1800#summary-
# Summary
| Status | Count |
|----------------|-------|
| ๐ Total | 32 |
| ๐ Unique | 19 |
| โ
Successful | 21 |
| โณ Timeouts | 0 |
| ๐ Redirected | 0 |
| ๐ป Excluded | 11 |
| โ Unknown | 0 |
| ๐ซ Errors | 0 |
| โ Unsupported | 0 |
Notice: Summary report available at: https://git.cafe/dynd/modern-swift/actions/runs/1800#summary-
Post Run actions/checkout@v5
Post job cleanup.
[command]/usr/bin/git version
git version 2.53.0
Copying '/home/bsa/.gitconfig' to '/home/bsa/.local/share/github-runner-xpd-2/_work/_temp/b86dfe97-b232-4b00-8736-17733c85e7e0/.gitconfig'
Temporarily overriding HOME='/home/bsa/.local/share/github-runner-xpd-2/_work/_temp/b86dfe97-b232-4b00-8736-17733c85e7e0' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/bsa/.local/share/github-runner-xpd-2/_work/modern-swift/modern-swift
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/git\.cafe\/\.extraheader
http.https://git.cafe/.extraheader
[command]/usr/bin/git config --local --unset-all http.https://git.cafe/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/git\.cafe\/\.extraheader' && git config --local --unset-all 'http.https://git.cafe/.extraheader' || :"
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Complete job
Cleaning up orphan processes