Skip to content
Open
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
4 changes: 2 additions & 2 deletions .taskfiles/_internal.Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ tasks:
cmds:
- cmd: |
{{if ne .VER "latest"}}
{{.CMD}} | grep -F "{{.VER}}"
{ {{.CMD}} 2>&1 || true; } | grep -F "{{.VER}}"
{{end}}
platforms: [linux, darwin]
- cmd: |
{{if ne .VER "latest"}}
{{.PWSH}} '
$match = (& {{.CMD}}) | Select-String -Pattern "{{.VER}}" -SimpleMatch
$match = (& {{.CMD}} 2>&1) | Select-String -Pattern "{{.VER}}" -SimpleMatch
if (-not $match) { exit 1 }
'
{{end}}
Expand Down
2 changes: 1 addition & 1 deletion .taskfiles/github.Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: "3"
vars:
GITHUB_VERSION:
map:
actionlint: latest
actionlint: 1.7.12
act: 0.2.88
pinact: 4.0.0
ghalint: 1.5.6
Expand Down
2 changes: 1 addition & 1 deletion .taskfiles/markdown.Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: "3"
vars:
MARKDOWN_VERSION:
map:
markdownlintCli2: latest
markdownlintCli2: 0.23.0
markdownTableFormatter: 1.7.0

tasks:
Expand Down
2 changes: 2 additions & 0 deletions .taskfiles/runtime.Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ vars:
map:
uv: 0.11.16
fnm: 1.39.0
# pwsh stays "latest": its installers use the Microsoft package repo /
# Homebrew, which only provide the latest release and reject version pins.
pwsh: latest
golang: 1.26.5
RUNTIME_INSTALLER_SHA:
Expand Down
8 changes: 5 additions & 3 deletions .taskfiles/scripts/install_actionlint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,13 @@ if [[ "${1:-}" == "-h" || "${1:-}" == "--help" ]]; then
exit 0
fi

# Normalize VERSION: empty/whitespace -> "latest", numeric -> add "v" prefix
# Normalize VERSION: empty/whitespace -> "latest". The pinned
# download-actionlint.bash expects a bare semantic version (e.g. 1.7.12) or
# "latest", so strip any leading "v" prefix from a specific version.
if [[ -z "${VERSION//[[:space:]]/}" ]]; then
VERSION="latest"
elif [[ "${VERSION}" != "latest" && "${VERSION}" =~ ^[0-9] ]]; then
VERSION="v${VERSION}"
elif [[ "${VERSION}" != "latest" ]]; then
VERSION="${VERSION#v}"
fi

# Determine install directory
Expand Down
Loading