mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-31 01:35:33 +00:00
19 lines
517 B
YAML
19 lines
517 B
YAML
on: push
|
|
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:
|
|
toolchain: ${{ steps.component.outputs.toolchain }}
|
|
override: true
|
|
- run: rustup component add clippy
|
|
- uses: actions-rs/clippy-check@v1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|