File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 4646 steps :
4747 - name : Install tools
4848 run : |
49- HOMEBREW_NO_AUTO_UPDATE=1 /home/linuxbrew/.linuxbrew/bin/brew install shellcheck
50- sudo apt-get update
51- sudo apt-get install -y devscripts shfmt
49+ HOMEBREW_NO_AUTO_UPDATE=1 /home/linuxbrew/.linuxbrew/bin/brew install shellcheck checkbashisms shfmt
5250
5351 - name : Checkout repository
5452 uses : actions/checkout@v5
@@ -62,10 +60,14 @@ jobs:
6260 shellcheck $(grep -l '^#!/bin/sh' $(git ls-files))
6361
6462 - name : Run checkbashisms
65- run : checkbashisms $(grep -l '^#!/bin/sh' $(git ls-files))
63+ run : |
64+ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
65+ checkbashisms $(grep -l '^#!/bin/sh' $(git ls-files))
6666
6767 - name : Run shfmt
68- run : shfmt --func-next-line --space-redirects --case-indent --binary-next-line --indent 4 --posix --diff .
68+ run : |
69+ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
70+ shfmt --func-next-line --space-redirects --case-indent --binary-next-line --indent 4 --posix --diff .
6971
7072 debian :
7173 name : debian
You can’t perform that action at this time.
0 commit comments