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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file actionlint_py-1.6.25.2.tar.gz.
File metadata
- Download URL: actionlint_py-1.6.25.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f0527b07cfc34858e0547ced9f211a6524191f403c5231392ff292476d13209
|
|
| MD5 |
9605571a9ba2603cb7b37249d653b39c
|
|
| BLAKE2b-256 |
b9a1b7ec90c504cbd2343753eddce314370210940059ac7b27b1fa564ec8b6e9
|
File details
Details for the file actionlint_py-1.6.25.2-py2.py3-none-win_amd64.whl.
File metadata
- Download URL: actionlint_py-1.6.25.2-py2.py3-none-win_amd64.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 2, Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
397e507cfb79691746a971dbcbe63f0d436ba38a3b7afdb1a526950569f783a2
|
|
| MD5 |
fb526e5fe86ff0fcdfe3ae05c1bf577f
|
|
| BLAKE2b-256 |
4ece327efb173668ed07489cfb26ca3620a8906390ec3f1791d1abd4e593a204
|