Skip to content

Commit 945ddc9

Browse files
committed
Add $GOPATH/bin to path in CI for shfmt
1 parent ceedec8 commit 945ddc9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/coder.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ jobs:
147147
- name: Install shfmt
148148
run: go install mvdan.cc/sh/v3/cmd/shfmt@v3.5.0
149149

150-
- run: "make --output-sync -j -B fmt"
150+
- run: |
151+
export PATH=${PATH}:$(go env GOPATH)/bin
152+
make --output-sync -j -B fmt
151153
152154
test-go:
153155
name: "test/go"

0 commit comments

Comments
 (0)