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:
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
@@ -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
|
||||||
|
28
.github/workflows/release.yml
vendored
28
.github/workflows/release.yml
vendored
@@ -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
|
||||||
|
Reference in New Issue
Block a user