File tree Expand file tree Collapse file tree 2 files changed +13
-24
lines changed
Expand file tree Collapse file tree 2 files changed +13
-24
lines changed Original file line number Diff line number Diff line change @@ -3,21 +3,15 @@ name: Rust Lint
33on :
44 pull_request :
55 paths :
6- - ' client/**'
7- - ' proto/**'
8- - ' Cargo.toml'
9- - ' Cargo.lock'
10- - ' .github/workflows/rust-*.yml'
6+ - " client/**"
7+ - " proto/**"
8+ - " Cargo.toml"
9+ - " Cargo.lock"
10+ - " .github/workflows/rust-*.yml"
1111 push :
1212 branches :
1313 - main
1414 - release/*
15- paths :
16- - ' client/**'
17- - ' proto/**'
18- - ' Cargo.toml'
19- - ' Cargo.lock'
20- - ' .github/workflows/rust-*.yml'
2115
2216jobs :
2317 fmt :
7973 - name : Run cargo audit
8074 uses : actions-rust-lang/audit@v1
8175 with :
82- ignore : " " # Add RUSTSEC IDs to ignore if needed
76+ ignore : " " # Add RUSTSEC IDs to ignore if needed
8377
8478 docs :
8579 name : Documentation
@@ -113,4 +107,4 @@ jobs:
113107 - name : Check documentation
114108 run : cargo doc --workspace --no-deps --all-features
115109 env :
116- RUSTDOCFLAGS : -D warnings
110+ RUSTDOCFLAGS : -D warnings
Original file line number Diff line number Diff line change @@ -3,19 +3,14 @@ name: Rust Proto Generation Check
33on :
44 pull_request :
55 paths :
6- - ' proto/**'
7- - ' client/crates/rollkit-types/build.rs'
8- - ' client/crates/rollkit-types/src/proto/**'
9- - ' .github/workflows/rust-proto-check.yml'
6+ - " proto/**"
7+ - " client/crates/rollkit-types/build.rs"
8+ - " client/crates/rollkit-types/src/proto/**"
9+ - " .github/workflows/rust-proto-check.yml"
1010 push :
1111 branches :
1212 - main
1313 - release/*
14- paths :
15- - ' proto/**'
16- - ' client/crates/rollkit-types/build.rs'
17- - ' client/crates/rollkit-types/src/proto/**'
18- - ' .github/workflows/rust-proto-check.yml'
1914
2015jobs :
2116 check-proto-generation :
9489 - DEFAULT
9590 EOF
9691 fi
97-
92+
9893 # Check for breaking changes against main branch
9994 git fetch origin main
100- buf breaking proto --against .git#branch=origin/main,subdir=proto || echo "::warning::Breaking changes detected in proto files"
95+ buf breaking proto --against .git#branch=origin/main,subdir=proto || echo "::warning::Breaking changes detected in proto files"
You can’t perform that action at this time.
0 commit comments