Update sdk types (#900) #354
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |