Skip to content

Commit

Permalink
Update ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
tyreseluo committed Nov 28, 2024
1 parent 8ae5b6c commit ca8043b
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ env:
CARGO_INCREMENTAL: "0" # Disable incremental compilation in CI
RUST_BACKTRACE: 1
# Enable warnings as errors for strict checks
RUSTFLAGS: "-A warnings"
# For special compile
rust_nightly: nightly-2024-10-20
RUSTFLAGS: "-D warnings"

jobs:
# Basic compilation check to ensure code builds
Expand Down Expand Up @@ -75,4 +73,13 @@ jobs:
cache-on-failure: "true"
# Run clippy with custom configuration for makepad DSL
# Allow pedantic / needless_lifetimes / too_many_arguments
- run: cargo clippy --workspace --examples --tests --all-features --all-targets
- run: cargo clippy --workspace --examples --tests --all-features --all-targets

typos:
if: github.event.pull_request.draft == false
name: Check for typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check for typos
uses: crate-ci/typos@master

0 comments on commit ca8043b

Please sign in to comment.