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.25
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/"
Development
Development of wrapper and releasing new version: see README-DEV.md
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.25.2.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for actionlint_py-1.6.25.2-py2.py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 397e507cfb79691746a971dbcbe63f0d436ba38a3b7afdb1a526950569f783a2 |
|
MD5 | fb526e5fe86ff0fcdfe3ae05c1bf577f |
|
BLAKE2b-256 | 4ece327efb173668ed07489cfb26ca3620a8906390ec3f1791d1abd4e593a204 |