async-std/.github/workflows/clippy.yml

21 lines
526 B
YAML
Raw Normal View History

2019-10-01 14:23:23 +00:00
on: pull_request
2019-10-01 01:44:20 +00:00
2019-09-28 12:49:16 +00:00
name: Clippy check
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- id: component
uses: actions-rs/components-nightly@v1
with:
component: clippy
- uses: actions-rs/toolchain@v1
with:
2019-09-30 00:54:59 +00:00
toolchain: ${{ steps.component.outputs.toolchain }}
2019-09-28 12:49:16 +00:00
override: true
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}