diff options
| -rw-r--r-- | .woodpecker.yaml | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 14d9fd4..c0516c8 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -1,39 +1,14 @@ # Define the sequence of steps for the CI pipeline steps: - # Step 1: Run tests and checks (formatting, clippy, build, test) - fmt: + full-test: image: rust commands: - rustup default stable - cargo fmt --all -- --check + - cargo clippy --jobs 2 -- -D warnings + - cargo build --verbose --release --jobs 2 + - cargo test --verbose --jobs 2 when: branch: main event: [ push, pull_request ] - clippy: - image: rust - commands: - - rustup default stable - - cargo clippy --jobs 2 -- -D clippy::all - - when: - branch: main - event: [ push, pull_request ] - - build: - image: rust - commands: - - rustup default stable - - cargo build --release --verbose --jobs 2 - when: - branch: main - event: [ push, pull_request ] - - test: - image: rust - commands: - - rustup default stable - - cargo test --verbose --jobs 2 - when: - branch: main - event: [ push, pull_request ]
\ No newline at end of file |
