Skip to content

Commit

Permalink
lint: fix misspell linter install
Browse files Browse the repository at this point in the history
It appears that starting with v0.5.2 the misspell linter embeds the
version directory into the release archive.

Signed-off-by: Ryan Cragun <me@ryan.ec>
  • Loading branch information
ryancragun committed Aug 7, 2024
1 parent add1fcc commit a42cf34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/set-up-misspell/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ runs:
mkdir -p tmp
gh release download "$VERSION" -p "misspell_*_${OS}_${ARCH}.tar.gz" -O tmp/misspell.tgz -R golangci/misspell
pushd tmp && tar -xvf misspell.tgz && popd
mv tmp/misspell "$DESTINATION"
mv tmp/misspell_"$(echo "$VERSION" | tr -d v)"_${OS}_${ARCH}/misspell "$DESTINATION"
rm -rf tmp

0 comments on commit a42cf34

Please sign in to comment.