libreddit/.github/workflows/rust-clippy.yml
Workflow config file is invalid. Please check your config file: yaml: line 8: did not find expected key

34 lines
666 B
YAML

name: Rust Clippy
on:
push:
branches:
- 'main'
- 'master'
pull_request:
branches:
- 'main'
- 'master'
jobs:
check:
name: Clippy check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install minimal stable with clippy component
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: clippy
- name: Annotate commit with clippy warnings
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features