We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2aba91 commit c7d508aCopy full SHA for c7d508a
README.md
@@ -1,3 +1,19 @@
1
# setup-shfmt
2
3
-- Install shfmt and cache it for GitHub Actions
+- Install [shfmt](https://github.com/mvdan/sh) and cache it for GitHub Actions
4
+- Caching makes it especially efficient when using self-hosted runners
5
+
6
+## Usage
7
8
+```yaml
9
+jobs:
10
+ shfmt:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: pollenjp/setup-shfmt@v1
14
+ with:
15
+ version: latest
16
+ - uses: actions/checkout@v4
17
+ - name: Run shfmt
18
+ run: shfmt -d .
19
+```
action.yml
@@ -1,4 +1,4 @@
-name: 'setup-shfmt'
+name: 'setup-shfmt-action'
description: 'Install shfmt and cache it for GitHub Actions'
author: 'pollenJP'
0 commit comments