fix(build): perbaiki referensi paket zesdex-gateway di Dockerfile & default.nix

- Dockerfile & default.nix: ganti zesdex-backend -> zesdex-gateway (binary zesdex)
- flake.nix & default.nix: versi 1.13.0 -> 1.18.2 mengikuti Cargo.toml
- chore(ci): drop cargo build --release dari check job, tambah cargo fmt --check
This commit is contained in:
asepharyana
2026-08-27 21:52:25 +07:00
parent 6d3f4918bf
commit 7f64423615
4 changed files with 10 additions and 10 deletions
+6 -6
View File
@@ -21,11 +21,11 @@ jobs:
with: with:
components: clippy components: clippy
- name: Build workspace - name: Format check
run: cargo build --release --workspace run: cargo fmt --all -- --check
- name: Test workspace
run: cargo test --workspace
- name: Clippy workspace - name: Clippy workspace
run: cargo clippy --workspace -- -D warnings run: cargo clippy --workspace --all-targets -- -D warnings
- name: Test workspace
run: cargo test --workspace
+1 -1
View File
@@ -12,7 +12,7 @@ WORKDIR /app
COPY . . COPY . .
# Build with release profile (treats warnings as errors via lints) # Build with release profile (treats warnings as errors via lints)
RUN cargo build --release -p zesdex-backend --bin zesdex RUN cargo build --release -p zesdex-gateway --bin zesdex
# Stage 2: Minimal runtime image # Stage 2: Minimal runtime image
FROM debian:bookworm-slim FROM debian:bookworm-slim
+2 -2
View File
@@ -2,14 +2,14 @@
pkgs.rustPlatform.buildRustPackage { pkgs.rustPlatform.buildRustPackage {
pname = "zesdex"; pname = "zesdex";
version = "1.13.0"; version = "1.18.2";
src = ./.; src = ./.;
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
}; };
cargoBuildFlags = [ "-p" "zesdex-backend" "--bin" "zesdex" ]; cargoBuildFlags = [ "-p" "zesdex-gateway" "--bin" "zesdex" ];
nativeBuildInputs = with pkgs; [ pkg-config ]; nativeBuildInputs = with pkgs; [ pkg-config ];
buildInputs = with pkgs; [ openssl sqlite ]; buildInputs = with pkgs; [ openssl sqlite ];
+1 -1
View File
@@ -34,7 +34,7 @@
packages.default = pkgs.rustPlatform.buildRustPackage { packages.default = pkgs.rustPlatform.buildRustPackage {
pname = "zesdex"; pname = "zesdex";
version = "1.13.0"; version = "1.18.2";
src = ./.; src = ./.;
cargoLock = { cargoLock = {