chore(ci): Comment out clippy and rustfmt steps in workflows
- Disable clippy and rustfmt steps in both `ci.yml` and `release.yml` - Retain these steps as comments for potential future reactivation
This commit is contained in:
28
.github/workflows/release.yml
vendored
28
.github/workflows/release.yml
vendored
@@ -92,20 +92,20 @@ jobs:
|
||||
- name: Setup Rust
|
||||
run: rustup update stable && rustup default stable
|
||||
|
||||
- name: Install clippy and rustfmt
|
||||
run: rustup component add clippy rustfmt
|
||||
|
||||
- name: Cargo fmt (check)
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
- name: Clippy
|
||||
shell: bash
|
||||
run: |
|
||||
FLAGS=""
|
||||
if [ "${{ matrix.no-default-features }}" = "true" ]; then FLAGS="$FLAGS --no-default-features"; fi
|
||||
if [ -n "${{ matrix.features }}" ]; then FLAGS="$FLAGS --features ${{ matrix.features }}"; fi
|
||||
echo "Running: cargo clippy --all-targets $FLAGS -- -D warnings"
|
||||
cargo clippy --all-targets $FLAGS -- -D warnings
|
||||
# - name: Install clippy and rustfmt
|
||||
# run: rustup component add clippy rustfmt
|
||||
#
|
||||
# - name: Cargo fmt (check)
|
||||
# run: cargo fmt --all -- --check
|
||||
#
|
||||
# - name: Clippy
|
||||
# shell: bash
|
||||
# run: |
|
||||
# FLAGS=""
|
||||
# if [ "${{ matrix.no-default-features }}" = "true" ]; then FLAGS="$FLAGS --no-default-features"; fi
|
||||
# if [ -n "${{ matrix.features }}" ]; then FLAGS="$FLAGS --features ${{ matrix.features }}"; fi
|
||||
# echo "Running: cargo clippy --all-targets $FLAGS -- -D warnings"
|
||||
# cargo clippy --all-targets $FLAGS -- -D warnings
|
||||
|
||||
- name: Tests
|
||||
shell: bash
|
||||
|
Reference in New Issue
Block a user