Fail CI on lint step

This commit is contained in:
Juno Takano 2025-12-13 20:44:37 -03:00
commit 227c0acd6c
2 changed files with 8 additions and 6 deletions

View file

@ -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

View file

@ -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(