diff --git a/.woodpecker.yml b/.woodpecker.yml index fd2188a..93d7b5c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,7 +6,14 @@ pipeline: check-style: image: rust when: - branch: [ master ] + branch: [ main ] + path: + include: + - src/**/*.rs + - fedimovies-cli/**/*.rs + - fedimovies-config/**/*.rs + - fedimovies-models/**/*.rs + - fedimovies-utils/**/*.rs commands: - rustup default $RUST - cargo clippy --all-targets --all-features -- -D warnings @@ -14,7 +21,14 @@ pipeline: run-tests: image: rust when: - branch: [ master ] + branch: [ main ] + path: + include: + - src/**/*.rs + - fedimovies-cli/**/*.rs + - fedimovies-config/**/*.rs + - fedimovies-models/**/*.rs + - fedimovies-utils/**/*.rs environment: - CARGO_TERM_COLOR=always commands: