Skip to content

cssnr/actionlint-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Tag Major GitHub Tag Minor GitHub Release Version Action Run Using Workflow Release Workflow Lint GitHub Last Commit Codeberg Last Commit GitHub Repo Size GitHub Contributors GitHub Discussions GitHub Forks GitHub Repo Stars GitHub Org Stars Discord Ko-fi

Actionlint Action

Easily use rhysd/actionlint in a Workflow run with Pyflakes and Actions caching.

- name: 'Actionlint'
  uses: cssnr/actionlint-action@master

By 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.

Inputs

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

version

This must be a Version TAG from an actionlint release

Example: v1.7.9
Default: latest

arguments

Command line arguments.

actionlint -color -verbose ${{ inputs.arguments }}

shellcheck_opts

To ignore specific errors. ShellCheck Wiki.

Example: -e SC2059 -e SC2034

arch

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.

pyflakes

Install Pyflakes and store in cache for future runs.

Outputs

Let us know if you need any outputs...

Tags

The following rolling tags are maintained.

Version Tag Rolling Bugs Feat. Name Target Example
GitHub Tag Major Major vN.x.x vN
GitHub Tag Minor Minor vN.N.x vN.N
GitHub Release 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.

Support

For general help or to request a feature, see:

If you are experiencing an issue/bug or getting unexpected results, you can:

For more information, see the CSSNR SUPPORT.md.

Contributing

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.

Ko-fi

Actions Tools

Additionally, you can support other GitHub Actions I have published:

❔ Unpublished Actions

These actions are not published on the Marketplace, but may be useful.


📝 Template Actions

These are basic action templates that I use for creating new actions.

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/

About

Easily use rhysd/actionlint in a Workflow run with Pyflakes and Actions caching.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project