Skip clippy job on pull requests

This commit is contained in:
David Tolnay 2021-09-18 16:47:24 -07:00
parent c7dd271dcd
commit bda41eb005
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -36,6 +36,7 @@ jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@clippy