1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
--- platform: linux image_resource: type: registry-image source: repository: alpine tag: latest inputs: - name: repo run: path: ash args: - -eufo - pipefail - -c - | apk add --no-progress --no-interactive shfmt findutils shfmt --version find repo \ -type f \ -name '*.sh' \ -print0 |\ xargs -r0 shfmt -i 8 -d