Update ci.yaml

add Clippy check
This commit is contained in:
AppFlowy.IO 2021-11-27 09:55:28 +08:00 committed by GitHub
parent d010211028
commit 3d93308293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,20 @@ on:
pull_request:
branches: [main]
jobs:
lint:
rust-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
flutter-lint:
name: flutter analyze
runs-on: ubuntu-latest
steps: