-
Notifications
You must be signed in to change notification settings - Fork 512
44 lines (31 loc) · 956 Bytes
/
style.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Code Quality & Optimization
on: [push]
env:
CARGO_TERM_COLOR: always
jobs:
optimize:
name: Dependency & Performance Checks
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Check for unused dependencies
uses: bnjbvr/cargo-machete@main
- name: Install cargo-udeps
run: cargo install cargo-udeps --locked
- name: Run cargo-udeps
run: cargo udeps
- name: Install cargo-bloat
run: cargo install cargo-bloat
- name: Analyze binary size
run: cargo bloat --release
- name: Install cargo-audit
run: cargo install cargo-audit
- name: Security audit
run: cargo audit
- name: Install cargo-deny
run: cargo install cargo-deny
- name: Check duplicate dependencies
run: cargo deny check duplicates