Skip to content

Commit 396817c

Browse files
committed
Add Clippy CI workflow and badge
1 parent 9a08d27 commit 396817c

2 files changed

Lines changed: 23 additions & 1 deletion

File tree

‎.github/workflows/clippy.yml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Clippy
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
clippy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Setup Rust
17+
uses: dtolnay/rust-toolchain@stable
18+
with:
19+
components: clippy
20+
21+
- name: Clippy
22+
run: cargo clippy --all-features -- -D warnings

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
44
[![Build](https://github.com/nikaiw/VMkatz/actions/workflows/release.yml/badge.svg)](https://github.com/nikaiw/VMkatz/actions/workflows/release.yml)
5-
[![Release](https://img.shields.io/github/v/release/nikaiw/VMkatz)](https://github.com/nikaiw/VMkatz/releases)
5+
[![Clippy](https://github.com/nikaiw/VMkatz/actions/workflows/clippy.yml/badge.svg)](https://github.com/nikaiw/VMkatz/actions/workflows/clippy.yml)
66
[![Platform](https://img.shields.io/badge/platform-linux%20|%20windows%20|%20macos%20|%20esxi-lightgrey)]()
77

88
## Too Big to Steal

0 commit comments

Comments
 (0)