Skip to content

Merge pull request #983 from block-mesh/missing-nonce #2427

Merge pull request #983 from block-mesh/missing-nonce

Merge pull request #983 from block-mesh/missing-nonce #2427

Workflow file for this run

# https://github.com/LukeMathWalker/zero-to-production/blob/main/.github/workflows/general.yml
name: CLIPPY
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
BLOCKMESH_LOG_ENV: ${{ vars.BLOCKMESH_LOG_ENV }}
FEED_ORIGIN: FEED_ORIGIN
FEED_SELECTOR: FEED_SELECTOR
EXT_KEYPAIR: ${{ secrets.EXT_KEYPAIR }}
# SCCACHE_GHA_ENABLED: "true"
# RUSTC_WRAPPER: "sccache"
jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Install deps
run: |
sudo apt-get update
sudo apt-get install -y \
librsvg2-dev patchelf build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ vars.RUSTC_VERSION }}
components: clippy
- uses: Swatinem/rust-cache@v2
with:
key: clippy-sqlx-${{ vars.SQLX_VERSION }}
cache-all-crates: true
# - name: Sccache Action
# uses: Mozilla-Actions/sccache-action@v0.0.5
- name: Linting
run: cargo clippy --all --features ssr,hydrate -- -D warnings -A clippy::macro-metavars-in-unsafe