Skip to content

Update actions/cache v3 -> v4 - #6

Open
mattgodbolt wants to merge 1 commit into
mainfrom
add-actionlint
Open

Update actions/cache v3 -> v4#6
mattgodbolt wants to merge 1 commit into
mainfrom
add-actionlint

Conversation

@mattgodbolt

@mattgodbolt mattgodbolt commented Jul 10, 2026

Copy link
Copy Markdown
Member

Found by an org-wide actionlint sweep. Per review feedback the lint tooling itself is staying in the core repos (compiler-explorer, infra, compiler-workflows) — this PR keeps just the fixes, which stand on their own:

  • actions/cache v3 -> v4

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings July 10, 2026 21:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds automated linting for this repository’s GitHub Actions workflows using actionlint, aligning with the org-wide rollout and ensuring workflow changes are validated on PRs/pushes that touch workflow/config files.

Changes:

  • Added a new workflow to run actionlint when .github/workflows/** or .github/actionlint.yaml changes.
  • Added an .github/actionlint.yaml configuration (including shellcheck info/style suppression and self-hosted runner labels).
  • Bumped actions/cache from v3 to v4 in CI.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/lint-actions.yml New workflow to lint GitHub Actions workflow files with actionlint on relevant changes.
.github/workflows/ci.yml Updates CI cache action to actions/cache@v4.
.github/actionlint.yaml Adds actionlint configuration (runner labels + shellcheck severity gating).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/lint-actions.yml Outdated
- name: Checkout repository
uses: actions/checkout@v4
- name: Check workflow files
uses: docker://rhysd/actionlint:1.7.12
- actions/cache v3 -> v4

Found by an org-wide actionlint sweep; the lint tooling itself is staying in the core repos only, but these fixes stand on their own.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mattgodbolt mattgodbolt changed the title Lint GitHub Actions workflows with actionlint Update actions/cache v3 -> v4 Jul 10, 2026
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