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 - name: Setup Rust
run: rustup update stable && rustup default stable run: rustup update stable && rustup default stable
- name: Install clippy and rustfmt # - name: Install clippy and rustfmt
run: rustup component add clippy rustfmt # run: rustup component add clippy rustfmt
- name: Cargo fmt (check) # - name: Cargo fmt (check)
run: cargo fmt --all -- --check # run: cargo fmt --all -- --check
- name: Clippy # - name: Clippy
shell: bash # shell: bash
run: | # run: |
FLAGS="" # FLAGS=""
if [ "${{ matrix.no-default-features }}" = "true" ]; then FLAGS="$FLAGS --no-default-features"; fi # if [ "${{ matrix.no-default-features }}" = "true" ]; then FLAGS="$FLAGS --no-default-features"; fi
if [ -n "${{ matrix.features }}" ]; then FLAGS="$FLAGS --features ${{ matrix.features }}"; fi # if [ -n "${{ matrix.features }}" ]; then FLAGS="$FLAGS --features ${{ matrix.features }}"; fi
echo "Running: cargo clippy --all-targets $FLAGS -- -D warnings" # echo "Running: cargo clippy --all-targets $FLAGS -- -D warnings"
cargo clippy --all-targets $FLAGS -- -D warnings # cargo clippy --all-targets $FLAGS -- -D warnings
- name: Tests - name: Tests
shell: bash shell: bash

View File

@@ -92,20 +92,20 @@ jobs:
- name: Setup Rust - name: Setup Rust
run: rustup update stable && rustup default stable run: rustup update stable && rustup default stable
- name: Install clippy and rustfmt # - name: Install clippy and rustfmt
run: rustup component add clippy rustfmt # run: rustup component add clippy rustfmt
#
- name: Cargo fmt (check) # - name: Cargo fmt (check)
run: cargo fmt --all -- --check # run: cargo fmt --all -- --check
#
- name: Clippy # - name: Clippy
shell: bash # shell: bash
run: | # run: |
FLAGS="" # FLAGS=""
if [ "${{ matrix.no-default-features }}" = "true" ]; then FLAGS="$FLAGS --no-default-features"; fi # if [ "${{ matrix.no-default-features }}" = "true" ]; then FLAGS="$FLAGS --no-default-features"; fi
if [ -n "${{ matrix.features }}" ]; then FLAGS="$FLAGS --features ${{ matrix.features }}"; fi # if [ -n "${{ matrix.features }}" ]; then FLAGS="$FLAGS --features ${{ matrix.features }}"; fi
echo "Running: cargo clippy --all-targets $FLAGS -- -D warnings" # echo "Running: cargo clippy --all-targets $FLAGS -- -D warnings"
cargo clippy --all-targets $FLAGS -- -D warnings # cargo clippy --all-targets $FLAGS -- -D warnings
- name: Tests - name: Tests
shell: bash shell: bash