mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-16 00:58:31 +01:00
35 lines
621 B
YAML
35 lines
621 B
YAML
name: Clippy
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
tags-ignore:
|
|
- "*"
|
|
|
|
jobs:
|
|
check:
|
|
strategy:
|
|
matrix:
|
|
platform:
|
|
- ubuntu
|
|
- windows
|
|
- macos
|
|
|
|
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
|
|
|