Activate 10 Mb PoVs (#553) #3082
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", "release-*"] | |
pull_request: | |
workflow_dispatch: | |
# cancel previous runs | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
clippy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install updates and dependencies | |
run: .github/install-deps.sh | |
- name: Set rust version via common env file | |
run: cat .github/env >> $GITHUB_ENV | |
- name: Install stable toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
components: "clippy" | |
toolchain: "${{env.RUST_STABLE_VERSION}}" | |
- name: Fetch cache | |
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0 | |
with: | |
shared-key: "fellowship-cache-clippy" | |
- name: Clippy | |
run: | | |
cargo clippy --version | |
cargo clippy --all-targets --locked -q | |
env: | |
RUSTFLAGS: "-D warnings" | |
SKIP_WASM_BUILD: 1 |