Comprehensive toolkit for validating, linting, and testing GitHub Actions workflow files, custom local actions, and public actions. Use this skill when working with GitHub Actions YAML files (.github/workflows/*.yml), validating workflow syntax, testing workflow execution with act, or debugging workflow issues.
93
Does it follow best practices?
Validation for skill structure
This reference provides current recommended action versions and validation procedures for GitHub Actions workflows.
| Action | Current Version | Minimum Supported | Notes |
|---|---|---|---|
actions/checkout | v6 | v4 | v6 stores credentials in $RUNNER_TEMP |
actions/setup-node | v6 | v4 | v6 adds Node 24 support |
actions/setup-python | v5 | v4 | v5 adds Python 3.13 support |
actions/setup-java | v4 | v4 | Current latest |
actions/setup-go | v5 | v4 | v5 adds Go 1.23 support |
actions/cache | v4 | v4 | v4.2.0+ required as of Feb 2025 |
actions/upload-artifact | v4 | v4 | v3 deprecated |
actions/download-artifact | v4 | v4 | v3 deprecated |
docker/setup-buildx-action | v3 | v3 | Current latest |
docker/login-action | v3 | v3 | Current latest |
docker/build-push-action | v6 | v5 | v6 adds provenance attestation |
docker/metadata-action | v5 | v5 | Current latest |
aws-actions/configure-aws-credentials | v4 | v4 | OIDC support improved |
For each uses: statement in the workflow, extract:
actions/checkout)v4, v4.1.1, or SHA like b4ffde65f46...)For each action found:
Generate warnings for:
=== Action Version Check ===
actions/checkout@v6.0.0 - UP-TO-DATE (current: v6)
actions/setup-java@v4.2.1 - UP-TO-DATE (current: v4)
docker/build-push-action@v5.3.0 - OUTDATED (current: v6, using: v5)
actions/upload-artifact@v3 - DEPRECATED (minimum: v4, using: v3)
Recommendation: Update docker/build-push-action to v6 for provenance attestation support
Recommendation: Update actions/upload-artifact to v4 (v3 is deprecated)# Check action versions in workflow
bash scripts/validate_workflow.sh --check-versions .github/workflows/ci.yml
# Full validation including version check
bash scripts/validate_workflow.sh .github/workflows/ci.ymlGitHub Actions runtime requirements:
For security, pin actions to specific commit SHAs:
# Recommended: SHA pinning with version comment
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
# Acceptable: Major version tag
- uses: actions/checkout@v6
# Not recommended: Branch reference
- uses: actions/checkout@mainGitHub Actions cache storage expanded beyond the 10 GB limit:
New Features:
Pricing:
Cache best practices:
When validating workflows, ALWAYS:
uses: statements against the version tableInstall with Tessl CLI
npx tessl i pantheon-ai/github-actions-validator@0.1.1