Skip to content

chore(ci): install actionlint from release binary#43

Merged
Garbee merged 2 commits intomainfrom
copilot/update-copilot-workflow-install-actionlint
Feb 16, 2026
Merged

chore(ci): install actionlint from release binary#43
Garbee merged 2 commits intomainfrom
copilot/update-copilot-workflow-install-actionlint

Conversation

Copy link
Contributor

Copilot AI commented Feb 16, 2026

Install actionlint from GitHub release binaries using the same pattern as zizmor, eliminating the Go toolchain dependency.

Changes

  • copilot-setup-steps.yml: Replace go install with gh release download for actionlint
  • actionlint.yml: Apply same installation method for consistency
  • Remove "Add GOPATH to PATH" steps (no longer needed)

Pattern

- name: Install Actionlint
  env:
    TMP_DIR: ${{ runner.temp }}
    GH_TOKEN: ${{ github.token }}
  run: |
    set -euo pipefail
    tarball="$TMP_DIR/actionlint.tar.gz"
    gh release download --repo rhysd/actionlint --pattern "actionlint_*_linux_amd64.tar.gz" --output "$tarball"
    tar -xzf "$tarball" -C "$TMP_DIR"
    install -D "$TMP_DIR/actionlint" /usr/local/bin
    rm "$tarball" "$TMP_DIR/actionlint"

Downloads latest release automatically via wildcard pattern. Faster (~30-60s saved vs compilation) and consistent with existing zizmor installation.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh gh release list --repo rhysd/actionlint --limit 3 (http block)
  • https://api.github.com/repos/rhysd/actionlint/releases/latest
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)
    • Triggering command: /usr/bin/curl curl -sL REDACTED (http block)
    • Triggering command: /usr/bin/gh gh release view --repo rhysd/actionlint --json assets --jq .assets[].name (http block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: Garbee <868301+Garbee@users.noreply.github.com>
Copilot AI changed the title [WIP] Update copilot setup workflow to install actionlint chore(ci): install actionlint from release binary Feb 16, 2026
Copilot AI requested a review from Garbee February 16, 2026 18:08
@Garbee Garbee marked this pull request as ready for review February 16, 2026 18:12
@Garbee Garbee merged commit 43c6fe2 into main Feb 16, 2026
16 checks passed
@Garbee Garbee deleted the copilot/update-copilot-workflow-install-actionlint branch February 16, 2026 18:12
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.

2 participants