Skip to content

Use preinstalled ShellCheck in CI - #194

Merged
helizaga merged 1 commit into
mainfrom
tommy/ci-use-preinstalled-shellcheck
Aug 19, 2026
Merged

Use preinstalled ShellCheck in CI#194
helizaga merged 1 commit into
mainfrom
tommy/ci-use-preinstalled-shellcheck

Conversation

@helizaga

Copy link
Copy Markdown
Member

Summary

  • replace the network-dependent ShellCheck installation step with an availability check
  • continue running the existing repository-wide ShellCheck command unchanged

Why

The v2.11.0 release CI stalled twice in sudo apt-get update && sudo apt-get install -y shellcheck, including for more than 45 minutes on the retry. GitHub's supported Ubuntu runner images already include ShellCheck, so installing it on every run adds a package-mirror dependency without improving coverage.

Impact

ShellCheck CI starts immediately using the runner-provided binary. Test and completion jobs are unchanged. This workflow-only change does not require a product release.

Validation

  • workflow YAML parsed successfully
  • shellcheck bin/gtr bin/git-gtr lib/*.sh lib/commands/*.sh adapters/editor/*.sh adapters/ai/*.sh
  • ./scripts/generate-completions.sh --check

@helizaga
helizaga merged commit c319233 into main Aug 19, 2026
3 checks passed
@helizaga
helizaga deleted the tommy/ci-use-preinstalled-shellcheck branch August 19, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant