Python wrapper around invoking actionlint (https://github.com/rhysd/actionlint)
Project description
actionlint-py
A python wrapper to provide a pip-installable actionlint binary.
Internally this package provides a convenient way to download the pre-built actionlint binary for your particular platform.
installation
pip install actionlint-py
usage
After installation, the actionlint
binary should be available in your
environment (or actionlint.exe
on windows).
As a pre-commit hook
See pre-commit for instructions
Sample .pre-commit-config.yaml
:
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
rev: v1.6.22
hooks:
- id: actionlint
or to avoid going twice to internet (might help with proxy):
- repo: local
hooks:
- id: actionlint
name: actionlint
description: Test yaml scripts with actionlint
# additional_dependencies: [actionlint-py==1.6.22.2] # safer, but pre-commit autoupdate will not work
additional_dependencies: [actionlint-py]
entry: actionlint
# args: [-ignore "*.set-output. was depracated.*"]
language: python
types: [ "yaml" ]
files: "^.github/workflows/"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
actionlint_py-1.6.24.2.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for actionlint_py-1.6.24.2-py2.py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d47ef21edbb7ae73060b47084a7585cac7eac2ec16efa4f0bf2766c1a1ec2491 |
|
MD5 | 0648b9f3aaaba113f902689f3a48669e |
|
BLAKE2b-256 | 7cba1ee16feba735e608b281e2aacfcc45b913f7e57b0b586941d3f56e84f0b2 |