Skip to content

Commit

Permalink
Extract typos to its own folder
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Nov 29, 2024
1 parent 2e6d820 commit 3d3a06b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:

- run: |
wget -q https://github.com/crate-ci/typos/releases/download/${{ env.TYPOS_VER }}/typos-${{ env.TYPOS_VER }}-${{ env.TYPOS_PLATFORM }}.tar.gz
tar -xf typos-${{ env.TYPOS_VER }}-${{ env.TYPOS_PLATFORM }}.tar.gz
tar -xf typos-${{ env.TYPOS_VER }}-${{ env.TYPOS_PLATFORM }}.tar.gz --one-top-level=typos-${{ env.TYPOS_VER }}
mkdir -p "$HOME/.local/bin"
mv typos "$HOME/.local/bin/typos"
chmod +x "$HOME/.local/bin/typos"
echo "$HOME/.local/bin" >> $GITHUB_PATH
mv typos-${{ env.TYPOS_VER }} "$HOME/.local/bin/typos-${{ env.TYPOS_VER }}"
chmod +x "$HOME/.local/bin/typos-${{ env.TYPOS_VER }}/typos"
echo "$HOME/.local/bin/typos-${{ env.TYPOS_VER }}" >> $GITHUB_PATH
- run: make typos

0 comments on commit 3d3a06b

Please sign in to comment.