-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Added CI and fixed Clippy warnings
- Loading branch information
Showing
7 changed files
with
57 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Run CI | ||
on: [push, pull_request] | ||
env: | ||
CARGO_TERM_COLOR: always | ||
RUST_BACKTRACE: full | ||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Set up Rust | ||
uses: actions/checkout@v4 | ||
- name: Install cargo-audit | ||
run: cargo install cargo-audit | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run clippy | ||
run: cargo clippy --verbose -- -D warnings | ||
- name: Run audit | ||
run: cargo audit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"recommendations": [ | ||
"github.vscode-github-actions", | ||
"ms-vscode.hexeditor", | ||
"wakatime.vscode-wakatime", | ||
"github.vscode-pull-request-github", | ||
"fill-labs.dependi", | ||
"tamasfe.even-better-toml", | ||
"github.remotehub", | ||
"dustypomerleau.rust-syntax", | ||
"rust-lang.rust-analyzer", | ||
"vadimcn.vscode-lldb", | ||
"usernamehw.errorlens", | ||
"gruntfuggly.todo-tree" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
{ | ||
"editor.tabSize": 4 | ||
"editor.tabSize": 4, | ||
"errorLens.enabled": true, | ||
"errorLens.gutterIconsEnabled": true, | ||
"errorLens.gutterIconSet": "squareRounded", | ||
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^[ \\t]*(-|\\d+.))\\s*($TAGS)|todo!|unimplemented!", | ||
"rust-analyzer.check.command": "clippy", | ||
"[rust]": { | ||
"editor.defaultFormatter": "rust-lang.rust-analyzer", | ||
"editor.formatOnSave": true, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
//mod text; | ||
#![allow(clippy::too_many_arguments)] | ||
|
||
mod commands; | ||
|
||
use clap::Parser; | ||
|