diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index b509fe5a5..a5de8b57b 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.6.27 + entry: docker.io/rhysd/actionlint:1.7.0 - 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 9412c7637..202c39122 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.6.27`) +- `actionlint:{version}`: Specific version of actionlint. (e.g. `actionlint:1.7.0`) 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.6.27 + rev: v1.7.0 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.6.27 +trunk check enable actionlint@1.7.0 ``` 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.6.27 + - actionlint@1.7.0 ``` Then just run: