build(justfile): add validate dev branch recipe
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Paul Campbell 2024-04-28 08:25:51 +01:00
parent 9fbc2f79aa
commit 7fb12ca660

View file

@ -1,3 +1,8 @@
install-hooks:
@echo "Installing git hooks"
git config core.hooksPath .git-hooks
validate-dev-branch:
git rebase -i origin/main -x 'cargo build --features "fs,network"'
git rebase -i origin/main -x 'cargo test --features "fs,network"'
git rebase -i origin/main -x 'cargo clippy --features "fs,network" -- -D warnings -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used'