mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 20:25:02 +00:00
Merging main in brought cms.yml, menu.yml and the wasm job back, and their action refs had no lockfile entries, so `gh actions-lock --verify` failed. Regenerated with `gh actions-lock`; the four refs it normalized resolve to the commits already in use.
27 lines
859 B
YAML
27 lines
859 B
YAML
name: Colour management
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [main]
|
|
paths: ['crates/cms/**', 'Cargo.toml', 'Cargo.lock', '.github/workflows/cms.yml']
|
|
pull_request:
|
|
paths: ['crates/cms/**', 'Cargo.toml', 'Cargo.lock', '.github/workflows/cms.yml']
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
cms:
|
|
timeout-minutes: 20
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4.4.0
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
components: clippy
|
|
- run: cargo clippy -p craft-cms --all-targets --all-features --locked -- -D warnings
|
|
# Release: the FOGRA39 fit and ink-limit tests take about 35 s in debug and 4 s here. Tests that need
|
|
# installed system profiles print "skipped:" when none are present.
|
|
- run: cargo test -p craft-cms --all-features --release --locked -- --nocapture
|