Skip to content

Bump mail-parser from 0.8.2 to 0.9.1 in /native/mail_parser_nif #34

Bump mail-parser from 0.8.2 to 0.9.1 in /native/mail_parser_nif

Bump mail-parser from 0.8.2 to 0.9.1 in /native/mail_parser_nif #34

Workflow file for this run

name: Rust CI
on:
push:
branches:
- main
paths:
- "native/**"
pull_request:
paths:
- "native/**"
- ".github/workflows/rust-ci.yml"
workflow_dispatch:
jobs:
lint-rust:
name: Lint Rust
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
manifest:
- native/mail_parser_nif/Cargo.toml
steps:
- name: Checkout source code
uses: actions/checkout@v3
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
native/mail_parser_nif/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.job.target }}
components: rustfmt, clippy
- name: Run rustfmt in check mode
run: cargo fmt --manifest-path=${{ matrix.manifest }} --all -- --check
- name: Run clippy
run: cargo clippy --manifest-path=${{ matrix.manifest }} -- -Dwarnings