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:
geoffsee
2025-08-25 15:28:46 -04:00
parent 3b2f69df07
commit 2dbe8558e5
2 changed files with 26 additions and 26 deletions

View File

@@ -32,20 +32,20 @@ jobs:
- name: Setup Rust
run: rustup update stable && rustup default stable
- name: Install clippy and rustfmt
run: rustup component add clippy rustfmt
# - name: Install clippy and rustfmt
# run: rustup component add clippy rustfmt
- name: Cargo fmt (check)
run: cargo fmt --all -- --check
# - 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: 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

View File

@@ -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