Skip to content

Commit c0cbc15

Browse files
committed
use make in ci
edit version number fix version number
1 parent 19b82c5 commit c0cbc15

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Compile
2929
run: cargo check --locked
3030
- name: Test
31-
run: cargo nextest run
31+
run: make test
3232

3333
lint:
3434
runs-on: ubuntu-latest
@@ -39,6 +39,4 @@ jobs:
3939
components: clippy, rustfmt
4040
- uses: Swatinem/rust-cache@v2
4141
- name: Run cargo clippy (deny warnings)
42-
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
43-
- name: Run cargo fmt (check if all code is rustfmt-ed)
44-
run: cargo fmt --all --check
42+
run: make lint

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "maedic"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
edition = "2024"
55

66

src/database.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ pub async fn setup_database_pool(
7070
}
7171

7272
pub async fn self_health(State(state): State<AppState>) -> Json<MaedicHealth> {
73-
println!("{:?}", state.pool.state());
7473
match get_db_status(state.pool).await {
7574
Ok(state) => match state {
7675
DatabaseConnectionState::Healthy => Json(MaedicHealth::healthy()),

0 commit comments

Comments
 (0)