28 lines
626 B
YAML
28 lines
626 B
YAML
on:
|
|
push:
|
|
branches: [ staging, trying, master ]
|
|
pull_request:
|
|
|
|
name: Clippy check
|
|
jobs:
|
|
clippy_check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
components: clippy
|
|
- uses: actions-rs/clippy-check@v1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
clippy_check_async:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: dtolnay/rust-toolchain@nightly
|
|
with:
|
|
components: clippy
|
|
- run: cargo clippy
|
|
working-directory: embedded-nal-async
|