Skip to content

[ts-sdk][demos] Set up pnpm workspaces, update eslint config, update … #95

[ts-sdk][demos] Set up pnpm workspaces, update eslint config, update …

[ts-sdk][demos] Set up pnpm workspaces, update eslint config, update … #95

Workflow file for this run

name: macos lint
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
check:
runs-on: macos-14
steps:
- name: 🛠 Install system dependencies
run: brew install ffmpeg
- name: 🔧 Install the rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: 📥 Checkout repo
uses: actions/checkout@v4
- name: 📁 Rust cache
uses: Swatinem/rust-cache@v2
- name: 🪢 Generate Chromium Embedded Framework bindings
run: cargo build --package compositor_chromium
- name: 📖 Check formatting
run: cargo fmt --all --check
- name: 📎 Run clippy
run: cargo clippy --workspace --all-targets -- -D clippy::todo -D warnings