Skip to content

Commit 98d4077

Browse files
committed
try another approach
1 parent 136f7b7 commit 98d4077

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.cargo/config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
[target.'cfg(all())']
2-
rustflags = ["-D", "warnings"]
1+
[alias]
2+
clippy-ci = "clippy -- -D warnings"

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- uses: dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6 # stable
6767
with:
6868
components: clippy
69-
- run: cargo clippy
69+
- run: cargo clippy-ci
7070

7171
build:
7272
name: Build

0 commit comments

Comments
 (0)