mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-22 10:11:32 +03:00
38 lines
817 B
YAML
38 lines
817 B
YAML
|
{{{{raw}}}}
|
||
|
name: Clippy
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- main
|
||
|
- dev
|
||
|
|
||
|
jobs:
|
||
|
clippy:
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
fail-fast: false
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: install webkit2gtk
|
||
|
run: |
|
||
|
sudo apt-get update
|
||
|
sudo apt-get install -y webkit2gtk-4.0
|
||
|
- name: Install clippy with stable toolchain
|
||
|
uses: actions-rs/toolchain@v1
|
||
|
with:
|
||
|
profile: minimal
|
||
|
toolchain: stable
|
||
|
override: true
|
||
|
components: clippy
|
||
|
- uses: actions-rs/clippy-check@v1
|
||
|
with:
|
||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||
|
args: --manifest-path=Cargo.toml --all-targets --all-features -- -D warnings
|
||
|
name: clippy
|
||
|
{{{{/raw}}}}
|