The Ambassador Program #240
Workflow file for this run
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
name: "Clippy" | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
clippy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install updates and protobuf-compiler | |
run: sudo apt update && sudo apt install --assume-yes cmake protobuf-compiler | |
- name: Install nightly toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
components: clippy | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Fetch cache | |
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0 | |
- name: Clippy | |
run: cargo +nightly clippy --all-targets --locked -q | |
env: | |
SKIP_WASM_BUILD: 1 |