ci-refresh
Some checks failed
Deploy / deploy (push) Has been skipped
CI / lint (push) Successful in 6m37s
CI / test (push) Failing after 13m16s

This commit is contained in:
2025-09-02 09:13:08 +03:00
parent b1270c5cb6
commit 5329752735
3 changed files with 25 additions and 7 deletions

View File

@@ -39,8 +39,16 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-
- name: Build
run: cargo build --verbose
- name: Build with memory optimization
run: |
# Apply memory optimizations for CI environment
export CARGO_NET_GIT_FETCH_WITH_CLI=true
export CARGO_NET_RETRY=3
export CARGO_NET_TIMEOUT=60
export CARGO_HTTP_TIMEOUT=60
export RUSTC_FORCE_INCREMENTAL=0
# Build with our optimized configuration
cargo build --verbose
- name: Install cargo-llvm-cov
run: |
@@ -105,6 +113,11 @@ jobs:
- name: Check formatting
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy -- -D warnings
- name: Clippy with memory optimization
run: |
# Apply same memory optimizations for clippy
export CARGO_NET_GIT_FETCH_WITH_CLI=true
export RUSTC_FORCE_INCREMENTAL=0
# Run clippy with our allow list for collapsible_if
cargo clippy -- -D warnings -A clippy::collapsible-if