Skip to content

Grayscale Example Fixed (#218) #639

Grayscale Example Fixed (#218)

Grayscale Example Fixed (#218) #639

Workflow file for this run

name: Rust Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable --component rustfmt
- run: cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-review'
github_token: ${{ secrets.GITHUB_TOKEN }}
clippy_flags: -- -D warnings
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable
- name: Install cross
run: cargo install cross
- run: cross check --all --all-features