rust-clippy #143
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adapted from the example at https://github.com/actions-rs/clippy | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: "38 14 * * 2" | |
name: rust-clippy | |
jobs: | |
rust-clippy: | |
name: Run rust-clippy analysis | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
components: clippy | |
override: true | |
# Note that there is no release tag available yet | |
# and the following code will use master branch HEAD | |
# all the time. | |
- uses: actions-rs/clippy@master | |
with: | |
args: --all-features --all-targets |