Fail CI on lint step
This commit is contained in:
parent
9356def325
commit
227c0acd6c
2 changed files with 8 additions and 6 deletions
|
|
@ -13,11 +13,11 @@ jobs:
|
|||
uses: actions/checkout@v6
|
||||
- name: install dependencies
|
||||
run: cargo install --path .
|
||||
- name: formatting
|
||||
run: cargo fmt -- --check --files-with-diff
|
||||
- name: lints
|
||||
run: cargo clippy -- -Dwarnings
|
||||
- name: cargo
|
||||
- name: cargo check
|
||||
run: cargo check --all-targets
|
||||
- name: format
|
||||
run: cargo fmt -- --check
|
||||
- name: lint
|
||||
run: cargo clippy -- -Dwarnings
|
||||
- name: test
|
||||
run: cargo test
|
||||
|
|
|
|||
|
|
@ -31,7 +31,9 @@ async fn main() {
|
|||
}));
|
||||
|
||||
let app = Router::new()
|
||||
.route("/", get(|| handlers::navigation::nexus("index.html"))
|
||||
.route(
|
||||
"/",
|
||||
get(|| handlers::navigation::nexus("index.html"))
|
||||
.post(handlers::navigation::search),
|
||||
)
|
||||
.route(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue