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
eb86c20e35
commit
3fd546f632
1 changed files with 5 additions and 0 deletions
5
justfile
5
justfile
|
@ -1,3 +1,8 @@
|
||||||
install-hooks:
|
install-hooks:
|
||||||
@echo "Installing git hooks"
|
@echo "Installing git hooks"
|
||||||
git config core.hooksPath .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