diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 857eac0..dbe93ef 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -16,8 +16,5 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Install Rust - uses: dtolnay/rust-toolchain@stable - - - name: Build crate - run: cargo build --verbose \ No newline at end of file + - name: Build crate (Nix dev shell) + run: nix develop --extra-experimental-features "nix-command flakes" -c cargo build --verbose \ No newline at end of file diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 7a48ceb..81992a4 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -16,8 +16,5 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Install Rust - uses: dtolnay/rust-toolchain@stable - - - name: Run tests - run: cargo test --verbose \ No newline at end of file + - name: Run tests (Nix dev shell) + run: nix develop --extra-experimental-features "nix-command flakes" -c cargo test --verbose \ No newline at end of file