Skip to content

Commit

Permalink
Merge pull request #23 from reviewdog/fix-install-mvdan-sh
Browse files Browse the repository at this point in the history
fix installing shfmt
  • Loading branch information
shogo82148 committed Apr 27, 2023
2 parents 232d818 + 3e993d2 commit 7b19112
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
- uses: actions/checkout@v3
- name: install mvdan/sh
run: |
mkdir -p $HOME/bin
curl -sfL https://install.goreleaser.com/github.com/mvdan/sh.sh | sh -s -- -b $HOME/bin
echo $HOME/bin >> $GITHUB_PATH
shfmtversion="v3.6.0"
wget -q https://github.com/mvdan/sh/releases/download/${shfmtversion?}/shfmt_${shfmtversion?}_linux_amd64
sudo install shfmt_${shfmtversion?}_linux_amd64 /usr/local/bin/shfmt
rm shfmt_${shfmtversion?}_linux_amd64
- run: shfmt -i 2 -ci -w .
- name: suggester / shfmt
uses: reviewdog/action-suggester@master
Expand Down

0 comments on commit 7b19112

Please sign in to comment.