watchexec/.github/workflows/clippy.yml

36 lines
621 B
YAML
Raw Normal View History

2022-09-07 02:36:55 +02:00
name: Clippy
2022-05-30 04:34:22 +02:00
on:
2022-09-07 02:36:55 +02:00
workflow_dispatch:
pull_request:
2022-09-07 02:36:55 +02:00
push:
branches:
- main
tags-ignore:
- "*"
jobs:
check:
strategy:
matrix:
platform:
- ubuntu
- windows
- macos
2022-09-07 02:36:55 +02:00
name: Clippy on ${{ matrix.platform }}
runs-on: "${{ matrix.platform }}-latest"
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy