Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
paths:
.github/workflows/ci.yml:
ignore:
# actionlint v1.7.12 does not support GitHub Actions parallel steps yet.
- 'step must run script with "run" section or run action with "uses" section'
- 'property "wsl-image" is not defined in object type \{\}'
47 changes: 24 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,29 +57,30 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Prepare Docker Compose environment
run: |
mise_version=$(sed -n 's/^min_version = "\(.*\)"$/\1/p' mise.toml)
if [[ -z ${mise_version} ]]; then
echo "Failed to read mise min_version." >&2
exit 1
fi
echo "MISE_VERSION=${mise_version}" >> "${GITHUB_ENV}"
- name: Resolve Ubuntu WSL image version
id: wsl-image
run: |
etag=$(
curl --fail-with-body --silent --head --location \
--write-out '%header{etag}' \
--output /dev/null \
"${WSL_IMAGE_URL}"
)
etag="${etag//\"/}"
if [[ -z ${etag} ]]; then
echo "Failed to read WSL image ETag." >&2
exit 1
fi
echo "etag=${etag}" >> "${GITHUB_OUTPUT}"
- parallel:
- name: Prepare Docker Compose environment
run: |
mise_version=$(sed -n 's/^min_version = "\(.*\)"$/\1/p' mise.toml)
if [[ -z ${mise_version} ]]; then
echo "Failed to read mise min_version." >&2
exit 1
fi
echo "MISE_VERSION=${mise_version}" >> "${GITHUB_ENV}"
- name: Resolve Ubuntu WSL image version
id: wsl-image
run: |
etag=$(
curl --fail-with-body --silent --head --location \
--write-out '%header{etag}' \
--output /dev/null \
"${WSL_IMAGE_URL}"
)
etag="${etag//\"/}"
if [[ -z ${etag} ]]; then
echo "Failed to read WSL image ETag." >&2
exit 1
fi
echo "etag=${etag}" >> "${GITHUB_OUTPUT}"
- name: Cache Ubuntu WSL image
id: wsl-cache
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
Expand Down
Loading