Easily use rhysd/actionlint in a Workflow run with Pyflakes and Actions caching.
- name: 'Actionlint'
uses: cssnr/actionlint-action@masterBy default, this downloads the latest version of actionlint and stores it in Actions cache for future runs. Allows setting a specific version of actionlint, setting custom command-line arguments and ShellCheck options. Automatically detect Architecture for matrix runs or specify an architecture.
| Input | Default Value | Description of the Input Value |
|---|---|---|
| version | latest |
Actionlint Version Tag |
| arguments | - | Command Line Arguments |
| shellcheck_opts | - | SHELLCHECK_OPTS |
| arch | - | Architecture String |
| pyflakes | true |
Install Pyflakes |
| token | github.token |
Custom GitHub PAT |
This must be a Version TAG from an actionlint release
Example: v1.7.9
Default: latest
Command line arguments.
actionlint -color -verbose ${{ inputs.arguments }}To ignore specific errors. ShellCheck Wiki.
Example: -e SC2059 -e SC2034
The script attempts to automatically detect the architecture.
Should this fail you can set one of these:
darwin_amd64
darwin_arm64
freebsd_386
freebsd_amd64
linux_386
linux_amd64
linux_arm64
linux_armv6
For more details see the actionlint release assets.
Install Pyflakes and store in cache for future runs.
Let us know if you need any outputs...
The following rolling tags are maintained.
| Version Tag | Rolling | Bugs | Feat. | Name | Target | Example |
|---|---|---|---|---|---|---|
| ✅ | ✅ | ✅ | Major | vN.x.x |
vN |
|
| ✅ | ✅ | ❌ | Minor | vN.N.x |
vN.N |
|
| ❌ | ❌ | ❌ | Micro | vN.N.N |
vN.N.N |
You can view the release notes for each version on the releases page.
The Major tag is recommended. It is the most up-to-date and always backwards compatible. Breaking changes would result in a Major version bump. At a minimum you should use a Minor tag.
For general help or to request a feature, see:
- Q&A Discussion: https://github.com/cssnr/actionlint-action/discussions/categories/q-a
- Request a Feature: https://github.com/cssnr/actionlint-action/discussions/categories/feature-requests
If you are experiencing an issue/bug or getting unexpected results, you can:
- Report an Issue: https://github.com/cssnr/actionlint-action/issues
- Chat with us on Discord: https://discord.gg/wXy6m2X8wY
- Provide General Feedback: https://cssnr.github.io/feedback/
For more information, see the CSSNR SUPPORT.md.
If you would like to submit a PR, please review the CONTRIBUTING.md.
Please consider making a donation to support the development of this project and additional open source projects.
Additionally, you can support other GitHub Actions I have published:
- Stack Deploy Action
- Portainer Stack Deploy Action
- Docker Context Action
- Actions Up Action
- Zensical Action
- VirusTotal Action
- Mirror Repository Action
- Update Version Tags Action
- Docker Tags Action
- TOML Action
- Update JSON Value Action
- JSON Key Value Check Action
- Parse Issue Form Action
- Cloudflare Purge Cache Action
- Mozilla Addon Update Action
- Package Changelog Action
- NPM Outdated Check Action
- Label Creator Action
- Algolia Crawler Action
- Upload Release Action
- Check Build Action
- Web Request Action
- Get Commit Action
❔ Unpublished Actions
These actions are not published on the Marketplace, but may be useful.
- cssnr/create-files-action - Create various files from templates.
- cssnr/draft-release-action - Keep a draft release ready to publish.
- cssnr/env-json-action - Convert env file to json or vice versa.
- cssnr/push-artifacts-action - Sync files to a remote host with rsync.
- smashedr/update-release-notes-action - Update release notes.
- smashedr/combine-release-notes-action - Combine release notes.
📝 Template Actions
These are basic action templates that I use for creating new actions.
- javascript-action - JavaScript
- typescript-action - TypeScript
- py-test-action - Dockerfile Python
- test-action-uv - Dockerfile Python UV
- docker-test-action - Docker Image Python
Note: The docker-test-action builds, runs and pushes images to GitHub Container Registry.
For a full list of current projects visit: https://cssnr.github.io/
