Merge pull request #10505 from haskell/mergify-wrong-ncommits #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Whitespace | |
on: | |
pull_request: | |
push: | |
branches: ["master"] | |
jobs: | |
whitespace: | |
defaults: | |
run: | |
shell: bash | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
# no longer using the action because apparently we're supposed to use the Makefile here | |
wget -q https://github.com/agda/fix-whitespace/releases/download/v0.1/fix-whitespace-0.1-linux.binary | |
mkdir -p "$HOME/.local/bin" | |
mv fix-whitespace-0.1-linux.binary "$HOME/.local/bin/fix-whitespace" | |
chmod +x "$HOME/.local/bin/fix-whitespace" | |
echo "$HOME/.local/bin" >> $GITHUB_PATH | |
- run: make whitespace |