Skip to content

Commit

Permalink
chore(upstream): upgrade to 3.5.0
Browse files Browse the repository at this point in the history
Using "latest" for the docker image tag for now per
mvdan/sh#860 (comment)
  • Loading branch information
scop committed May 19, 2022
1 parent aa2cbd2 commit 89672bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: shfmt
description: Shell source code formatter (native install)
language: golang
additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.4.3]
additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.5.0]
entry: shfmt
args: [-w, -s]
types: [shell]
Expand All @@ -12,7 +12,8 @@
name: shfmt
description: Shell source code formatter (Docker image)
language: docker_image
entry: --net none mvdan/shfmt:v3.4.3@sha256:b337f4f4f81220ac83daa7d299ff1a9b68725a099ccc4f1580496a43e959b94f
# latest: https://github.com/mvdan/sh/issues/860#issuecomment-1124710547
entry: --net none mvdan/shfmt:latest@sha256:a89cee7bbb1ded7543169af3aeff1eba97884177f2c9af766105ecf56792bd61
args: [-w, -s]
types: [shell]
stages: [commit, merge-commit, push, manual]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Usage in `.pre-commit-config.yaml`:

```yaml
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.4.3-1
rev: v3.5.0-1
hooks:
# Choose one of:
- id: shfmt # native (requires Go to build)
Expand Down

0 comments on commit 89672bc

Please sign in to comment.