Skip to content

Apply clippy hints and update deps #43

Apply clippy hints and update deps

Apply clippy hints and update deps #43

Workflow file for this run

---
name: Rust CI
on:
push:
branches:
- main
paths:
- '**.rs'
pull_request:
branches:
- main
paths:
- '**.rs'
jobs:
rust-lint:
runs-on: ubuntu-latest
container:
image: ghcr.io/gdatasoftwareag/vmi-build
steps:
- uses: actions/checkout@v3
- name: Annotate commit with clippy warnings
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --manifest-path vmicore/rust_src/Cargo.toml -- -D warnings
- name: Rustfmt check
uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path vmicore/rust_src/Cargo.toml -- --check