Skip to content

release: v0.3.4

release: v0.3.4 #15

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust: ["stable"]
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: rustfmt, clippy
- name: Cache cargo
uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --check
- name: Clippy
run: cargo clippy --all-targets --features image -- -D warnings
- name: Unit tests
run: cargo test --lib --test unit_api --test appkit_unit --features image
- name: Build release
run: cargo build --release --features image