Skip to content

make every capability always-compiled: drop the feature flags #20

make every capability always-compiled: drop the feature flags

make every capability always-compiled: drop the feature flags #20

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: "0"
CARGO_PROFILE_DEV_DEBUG: "0"
CARGO_PROFILE_TEST_DEBUG: "0"
RUSTFLAGS: -D warnings
jobs:
fmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30 # stable @ 2026-07-08
with:
toolchain: "1.97.0"
components: rustfmt
- run: cargo fmt --all -- --check
check:
name: clippy + test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30 # stable @ 2026-07-08
with:
toolchain: "1.97.0"
components: clippy
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
# --test-threads=1: the lib tests share the ABGEN_ROOT env (lodgen vs emote-template race).
- run: cargo clippy --workspace --all-targets -- -D warnings
- run: ABGEN_ROOT="$GITHUB_WORKSPACE" cargo test --workspace --lib -- --test-threads=1