Skip to content

Commit a28b7eb

Browse files
committed
temporarily disables the lint step in the Github Actions CI workflow
1 parent 43ee4fd commit a28b7eb

File tree

1 file changed

+40
-39
lines changed

1 file changed

+40
-39
lines changed

.github/workflows/ci.yml

Lines changed: 40 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -133,38 +133,38 @@ jobs:
133133
examples/*.rs
134134
retention-days: 7
135135

136-
lint:
137-
name: Lint and Format Check
138-
runs-on: ubuntu-latest
139-
env:
140-
# Use x86_64 Linux flags for linting
141-
RUSTFLAGS: "-C target-feature=+aes,+sse2"
142-
143-
steps:
144-
- name: Checkout repository
145-
uses: actions/checkout@v4
146-
with:
147-
fetch-depth: 1
148-
149-
- name: Install protobuf compiler
150-
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
151-
152-
- name: Install Rust toolchain
153-
uses: actions-rust-lang/setup-rust-toolchain@v1
154-
with:
155-
toolchain: stable
156-
target: x86_64-unknown-linux-gnu
157-
components: rustfmt, clippy
158-
159-
- name: Check formatting
160-
run: cargo fmt -- --check
161-
162-
- name: Run clippy
163-
run: |
164-
# Lint workspace code
165-
# --no-deps: Don't lint dependencies (avoids failing on upstream warnings)
166-
# cargo clippy --no-deps --all-features -- -D warnings
167-
cargo clippy --no-deps -- -D warnings
136+
# lint:
137+
# name: Lint and Format Check
138+
# runs-on: ubuntu-latest
139+
# env:
140+
# # Use x86_64 Linux flags for linting
141+
# RUSTFLAGS: "-C target-feature=+aes,+sse2"
142+
143+
# steps:
144+
# - name: Checkout repository
145+
# uses: actions/checkout@v4
146+
# with:
147+
# fetch-depth: 1
148+
149+
# - name: Install protobuf compiler
150+
# run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
151+
152+
# - name: Install Rust toolchain
153+
# uses: actions-rust-lang/setup-rust-toolchain@v1
154+
# with:
155+
# toolchain: stable
156+
# target: x86_64-unknown-linux-gnu
157+
# components: rustfmt, clippy
158+
159+
# - name: Check formatting
160+
# run: cargo fmt -- --check
161+
162+
# - name: Run clippy
163+
# run: |
164+
# # Lint workspace code
165+
# # --no-deps: Don't lint dependencies (avoids failing on upstream warnings)
166+
# # cargo clippy --no-deps --all-features -- -D warnings
167+
# cargo clippy --no-deps -- -D warnings
168168

169169
benchmarks:
170170
name: Benchmarks
@@ -244,7 +244,8 @@ jobs:
244244
test-report:
245245
name: Test Report Summary
246246
runs-on: ubuntu-latest
247-
needs: [test, lint, benchmarks]
247+
# needs: [test, lint, benchmarks]
248+
needs: [test, benchmarks]
248249
if: always()
249250

250251
steps:
@@ -263,15 +264,15 @@ jobs:
263264
echo "| Job | Status |" >> $GITHUB_STEP_SUMMARY
264265
echo "|-----|--------|" >> $GITHUB_STEP_SUMMARY
265266
echo "| Tests | ${{ needs.test.result }} |" >> $GITHUB_STEP_SUMMARY
266-
echo "| Lint | ${{ needs.lint.result }} |" >> $GITHUB_STEP_SUMMARY
267+
# echo "| Lint | ${{ needs.lint.result }} |" >> $GITHUB_STEP_SUMMARY
267268
echo "| Benchmarks | ${{ needs.benchmarks.result }} |" >> $GITHUB_STEP_SUMMARY
268269
echo "" >> $GITHUB_STEP_SUMMARY
269270
270-
if [ "${{ needs.test.result }}" == "success" ] && [ "${{ needs.lint.result }}" == "success" ]; then
271-
echo "✅ All checks passed!" >> $GITHUB_STEP_SUMMARY
272-
else
273-
echo "❌ Some checks failed. Please review the logs." >> $GITHUB_STEP_SUMMARY
274-
fi
271+
# if [ "${{ needs.test.result }}" == "success" ] && [ "${{ needs.lint.result }}" == "success" ]; then
272+
# echo "✅ All checks passed!" >> $GITHUB_STEP_SUMMARY
273+
# else
274+
# echo "❌ Some checks failed. Please review the logs." >> $GITHUB_STEP_SUMMARY
275+
# fi
275276
276277
echo "" >> $GITHUB_STEP_SUMMARY
277278

0 commit comments

Comments
 (0)