From f98b3afa7f8e5617c7b50e31d6e5efd76edbef76 Mon Sep 17 00:00:00 2001 From: Fraol Lemecha Date: Tue, 20 Aug 2024 21:31:11 +0300 Subject: [PATCH] chore: add nix ci action --- .github/workflows/ci.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f1dbcd..ba1c65f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Build SQLite Studio +name: Build SQL Studio on: push: @@ -11,7 +11,6 @@ on: jobs: build: runs-on: ubuntu-latest - steps: - name: Checkout repository uses: actions/checkout@v4 @@ -33,3 +32,15 @@ jobs: - name: Build Rust project run: cargo build --release + + build-with-nix: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@main + + - name: Build Release + run: nix build . + + - name: Build Docker Image + run: nix build .#docker