diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index a5de8b57b..9faee68e3 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -13,7 +13,7 @@ language: docker_image types: ["yaml"] files: ^\.github/workflows/ - entry: docker.io/rhysd/actionlint:1.7.0 + entry: docker.io/rhysd/actionlint:1.7.1 - id: actionlint-system name: Lint GitHub Actions workflow files description: Runs system-installed actionlint to lint GitHub Actions workflow files diff --git a/docs/usage.md b/docs/usage.md index 202c39122..6e769fd6c 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -272,7 +272,7 @@ and pyflakes). Available tags are: - `actionlint:latest`: Latest stable version of actionlint. This image is recommended. -- `actionlint:{version}`: Specific version of actionlint. (e.g. `actionlint:1.7.0`) +- `actionlint:{version}`: Specific version of actionlint. (e.g. `actionlint:1.7.1`) Just run the image with `docker run`: @@ -366,7 +366,7 @@ Add this to your `.pre-commit-config.yaml` in your repository: --- repos: - repo: https://github.com/rhysd/actionlint - rev: v1.7.0 + rev: v1.7.1 hooks: - id: actionlint ``` @@ -425,7 +425,7 @@ trunk check enable actionlint or if you'd like a specific version: ```bash -trunk check enable actionlint@1.7.0 +trunk check enable actionlint@1.7.1 ``` or modify `.trunk/trunk.yaml` in your repo to contain: @@ -433,7 +433,7 @@ or modify `.trunk/trunk.yaml` in your repo to contain: ```yaml lint: enabled: - - actionlint@1.7.0 + - actionlint@1.7.1 ``` Then just run: