-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0773012
commit 3667778
Showing
3 changed files
with
46 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
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 | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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