build(justfile): add validate dev branch recipe
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
2e3827e0e0
commit
8d506131ca
1 changed files with 5 additions and 0 deletions
5
justfile
5
justfile
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue