Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
58 changes: 35 additions & 23 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,49 @@ on:
push:
branches: [master]

env:
CARGO_INCREMENTAL: 0
CARGO_TERM_COLOR: always
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
RUSTC_WRAPPER: "sccache"
RUSTFLAGS: -D warnings
SCCACHE_GHA_ENABLED: "true"

jobs:

nightly-clippy:
name: Nightly clippy (wasm32)
nightly:
name: Nightly clippy + wasm32 tests
runs-on: ubuntu-latest
continue-on-error: true
permissions:
contents: read
checks: write # Required for Clippy Check output
pull-requests: write # Required for PR comments
env:
SCCACHE_GHA_CACHE_NAME: "nightly"
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v6
- uses: mozilla-actions/sccache-action@v0.0.9
- uses: Swatinem/rust-cache@v2
with:
shared-key: "deps-cache-nightly"
cache-targets: "false" # IMPORTANT: Let sccache handle target artifacts
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
target: wasm32-unknown-unknown
components: clippy
override: true
- uses: actions-rs/clippy-check@v1

# Clippy checks
- uses: giraffate/clippy-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: -p vertigo-cmark --all-features --target wasm32-unknown-unknown -- -Dwarnings
name: Vertigo-cmark Clippy Output
tool_name: "Clippy (nightly)"
reporter: github-pr-review
filter_mode: added
github_token: ${{ secrets.GITHUB_TOKEN }}
clippy_flags: --all --all-features --locked

# Uncomment after vertigo 0.8.4
# nightly-tests:
# name: Nightly tests
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: nightly
# override: true
# - uses: actions-rs/cargo@v1
# with:
# command: test
# args: --all-features
# Unit tests (wasm32)
- name: Unit tests
run: cargo test --all --all-features --locked
14 changes: 14 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
<!-- markdownlint-configure-file { "no-duplicate-heading": { "siblings_only": true } } -->

<!-- markdownlint-disable-next-line first-line-h1 -->
## 0.1.1 - 2026-05-01

### Fixed

* Disabling `html` now correctly removes `html` code from pulldown-cmark (>200KB wasm reduction)

### Changed

* Box iterator in `generate_tree` (0.1KB wasm reduction or more depending on cmark usage)

### Internals

* Re-enabled nightly tests

## 0.1.0 - 2025-10-03

### Added
Expand Down
Loading
Loading