summaryrefslogtreecommitdiff
path: root/.woodpecker.yaml
blob: c0516c8e9390f0344e01a7fb2eb9eb44449a2425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Define the sequence of steps for the CI pipeline
steps:
  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 ]