Skip to content

Bump env_logger from 0.11.5 to 0.11.6 in /rust #149

Bump env_logger from 0.11.5 to 0.11.6 in /rust

Bump env_logger from 0.11.5 to 0.11.6 in /rust #149

Workflow file for this run

name: Rust Lint
on:
pull_request:
paths:
- 'rust/**'
- '.github/workflows/rust-lint.yaml'
env:
SCCACHE_GHA_ENABLED: "true"
SSCACHE_CACHE_SIZE: "2G"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy,rustfmt
- uses: mozilla-actions/[email protected]
- name: Check formatting
working-directory: ./rust
run: cargo fmt --all -- --check
- name: Clippy
if: ${{ always() }}
working-directory: ./rust
run: cargo clippy --no-deps --all-targets -- -W clippy::pedantic -D warnings