Skip to content

version: use $BTRFS_AUTO_SNAPSHOT_VERSION #43

version: use $BTRFS_AUTO_SNAPSHOT_VERSION

version: use $BTRFS_AUTO_SNAPSHOT_VERSION #43

Workflow file for this run

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