Skip to content

Rename RemoveNic/Disk to DetachNic/Disk #333

Rename RemoveNic/Disk to DetachNic/Disk

Rename RemoveNic/Disk to DetachNic/Disk #333

Workflow file for this run

name: FeOS Lint
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install Protobuf Compiler
run: sudo apt-get update && sudo apt-get install protobuf-compiler -y
- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Set up cargo cache
uses: actions/cache@v4
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Check Format
run: cargo fmt --check
- name: Clippy
run: cargo clippy -- -D warnings