Skip to content

Merge branch 'main' into feat/profiles #139

Merge branch 'main' into feat/profiles

Merge branch 'main' into feat/profiles #139

Workflow file for this run

name: Clippy Check
on:
workflow_dispatch:
push:
paths:
- controller/**
- cli/**
- clients/wrapper/**
- drivers/pterodactyl/**
jobs:
clippy_check:
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Rust Toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: clippy
- name: Cache Cargo Registry
uses: actions/cache@v4
with:
path: ~/.cargo/registry
key: cargo-registry-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
cargo-registry-${{ runner.os }}-
- name: Cache Cargo Build
uses: actions/cache@v4
with:
path: target
key: cargo-build-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
cargo-build-${{ runner.os }}-
- name: Install Protobuf
run: |
sudo apt update
sudo apt install protobuf-compiler -y
- name: Run Clippy
run: cargo clippy --all-targets --all-features