Skip to content

Commit be240a0

Browse files
author
tac0turtle
committed
fixes
1 parent 785442d commit be240a0

File tree

2 files changed

+13
-24
lines changed

2 files changed

+13
-24
lines changed

.github/workflows/rust-lint.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,15 @@ name: Rust Lint
33
on:
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

2216
jobs:
2317
fmt:
@@ -79,7 +73,7 @@ jobs:
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

.github/workflows/rust-proto-check.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,14 @@ name: Rust Proto Generation Check
33
on:
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

2015
jobs:
2116
check-proto-generation:
@@ -94,7 +89,7 @@ jobs:
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"

0 commit comments

Comments
 (0)