mirror of
https://github.com/cloud-shuttle/leptos-shadcn-ui.git
synced 2026-05-27 08:50:40 +00:00
drover: task-1767765526815041318
Task: Add compiler warnings as errors
This commit is contained in:
@@ -99,6 +99,12 @@ debug-assertions = false
|
||||
overflow-checks = false
|
||||
incremental = false
|
||||
|
||||
# =============================================================================
|
||||
# Compiler Warnings Configuration
|
||||
# =============================================================================
|
||||
# Treat compiler warnings as errors in CI to prevent warnings in the codebase
|
||||
# Set RUSTFLAGS="-D warnings" in CI to enable
|
||||
|
||||
# =============================================================================
|
||||
# Test Coverage Configuration
|
||||
# =============================================================================
|
||||
|
||||
1
.github/workflows/coverage-report.yml
vendored
1
.github/workflows/coverage-report.yml
vendored
@@ -47,6 +47,7 @@ env:
|
||||
CARGO_INCREMENTAL: 0
|
||||
CARGO_TERM_COLOR: always
|
||||
RUST_BACKTRACE: 1
|
||||
RUSTFLAGS: "-D warnings"
|
||||
COVERAGE_MINIMUM_LINE_COVERAGE: 95
|
||||
COVERAGE_MINIMUM_BRANCH_COVERAGE: 90
|
||||
COVERAGE_MINIMUM_FUNCTION_COVERAGE: 100
|
||||
|
||||
1
.github/workflows/cross-browser-tests.yml
vendored
1
.github/workflows/cross-browser-tests.yml
vendored
@@ -38,6 +38,7 @@ on:
|
||||
env:
|
||||
NODE_VERSION: '20'
|
||||
RUST_VERSION: 'stable'
|
||||
RUSTFLAGS: "-D warnings"
|
||||
|
||||
jobs:
|
||||
cross-browser-tests:
|
||||
|
||||
1
.github/workflows/demo-deploy.yml
vendored
1
.github/workflows/demo-deploy.yml
vendored
@@ -21,6 +21,7 @@ env:
|
||||
RUST_VERSION: 'stable'
|
||||
NODE_VERSION: '18'
|
||||
WASM_PACK_VERSION: '0.12.1'
|
||||
RUSTFLAGS: "-D warnings"
|
||||
|
||||
jobs:
|
||||
# Job 1: Build and Test the Demo
|
||||
|
||||
3
.github/workflows/test-radio-group.yml
vendored
3
.github/workflows/test-radio-group.yml
vendored
@@ -18,6 +18,9 @@ on:
|
||||
- 'tests/radio_group_integration_test.rs'
|
||||
- 'scripts/test_radio_group.sh'
|
||||
|
||||
env:
|
||||
RUSTFLAGS: "-D warnings"
|
||||
|
||||
jobs:
|
||||
test-radio-group:
|
||||
name: RadioGroup Component Tests
|
||||
|
||||
1
.github/workflows/test-tooltip.yml
vendored
1
.github/workflows/test-tooltip.yml
vendored
@@ -19,6 +19,7 @@ on:
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
RUST_BACKTRACE: 1
|
||||
RUSTFLAGS: "-D warnings"
|
||||
|
||||
jobs:
|
||||
test-tooltip:
|
||||
|
||||
3
.github/workflows/website.yml
vendored
3
.github/workflows/website.yml
vendored
@@ -12,6 +12,9 @@ concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: false
|
||||
|
||||
env:
|
||||
RUSTFLAGS: "-D warnings"
|
||||
|
||||
jobs:
|
||||
book-test:
|
||||
name: Test Book
|
||||
|
||||
Reference in New Issue
Block a user