Skip to content

Commit

Permalink
Run cargo clippy on CI (#281)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **新機能**
  - ワークフローに`cargo clippy`を指定したオプションで実行する「Clippy (lint)」ステップを追加しました。

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
ciscorn authored Feb 15, 2024
1 parent 199acd3 commit 73a80a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:

env:
CARGO_TERM_COLOR: always
# Make sure CI fails on all warnings, including Clippy lints
RUSTFLAGS: "-Dwarnings"

permissions:
contents: read
Expand All @@ -32,3 +34,5 @@ jobs:
run: mkdir -p app/build
- name: Build App
run: cargo build --verbose --package app
- name: Clippy (lint)
run: cargo clippy --all-targets --all-features
4 changes: 1 addition & 3 deletions app/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
name = "app"
version.workspace = true
description = "A Tauri App"
authors = ["you"]
authors.workspace = true
license = ""
repository = ""
default-run = "app"
edition = "2021"
rust-version = "1.60"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down

0 comments on commit 73a80a7

Please sign in to comment.