Merge branch 'master' of github.com:hunleyd/btrfs-auto-snapshot #41
Workflow file for this run
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
on: [push, pull_request] | |
name: 'Trigger: Push action' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# TODO: running in alpine now, because `shfmt` | |
# of the current ubuntu instance lacks `--keep-padding`. | |
# Once ubuntu is upgraded to 24.04 or so, get rid of the | |
# containers. | |
- run: | | |
docker run -v $(pwd):/x -w /x -i --rm alpine <<EOF | |
apk add shellcheck shfmt make | |
make lint | |
EOF | |
- run: git diff --exit-code |