Skip to content

Let {:datetime, _} be an alias for {:naive_datetime, _} for backw… #1361

Let {:datetime, _} be an alias for {:naive_datetime, _} for backw…

Let {:datetime, _} be an alias for {:naive_datetime, _} for backw… #1361

Workflow file for this run

name: Rust CI
on:
push:
branches:
- main
paths:
- "native/**"
pull_request:
paths:
- "native/**"
workflow_dispatch:
jobs:
lint-rust:
name: Lint Rust
runs-on: ubuntu-latest
strategy:
matrix:
manifest:
- native/explorer/Cargo.toml
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
native/explorer
- name: run rustfmt
run: cargo fmt --manifest-path=${{ matrix.manifest }} --all -- --check
- name: run clippy
run: cargo clippy --manifest-path=${{ matrix.manifest }} -- -Dwarnings