File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Woodpecker CI Pipeline for CIGen
2+
3+ when :
4+ - event : [push, pull_request]
5+ branch : main
6+
7+ steps :
8+ install-deps :
9+ image : rust:1.85
10+ commands :
11+ - apt-get update
12+ - apt-get install -y nodejs npm protobuf-compiler
13+
14+ fmt :
15+ image : rust:1.85
16+ commands :
17+ - apt-get update
18+ - apt-get install -y protobuf-compiler
19+ - rustup component add rustfmt
20+ - cargo fmt -- --check
21+ depends_on : [install-deps]
22+
23+ clippy :
24+ image : rust:1.85
25+ commands :
26+ - apt-get update
27+ - apt-get install -y protobuf-compiler
28+ - rustup component add clippy
29+ - cargo clippy --all-targets --all-features -- -D warnings
30+ depends_on : [install-deps]
31+
32+ test :
33+ image : rust:1.85
34+ commands :
35+ - apt-get update
36+ - apt-get install -y protobuf-compiler
37+ - cargo test
38+ depends_on : [install-deps]
You can’t perform that action at this time.
0 commit comments