Skip to content

Update sdk types (#900) #354

Update sdk types (#900)

Update sdk types (#900) #354

Workflow file for this run

name: macos lint
on:
workflow_dispatch: {}
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