Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run clippy and build docs on CI #4

Merged
merged 4 commits into from
May 29, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,20 @@ jobs:
large-packages: false
swap-storage: false

- name: Check if it compiles
id: check-compilation
run: cargo check && cargo test
- name: Build the template
run: cargo build
timeout-minutes: 90

- name: Run clippy
run: |
SKIP_WASM_BUILD=1 cargo clippy --all-targets --locked --workspace --quiet
SKIP_WASM_BUILD=1 cargo clippy --all-targets --all-features --locked --workspace --quiet
timeout-minutes: 30

- name: Run the tests
run: cargo test
timeout-minutes: 15

- name: Build the docs
run: cargo doc --all-features --workspace --no-deps
timeout-minutes: 15
Loading