diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6525631..aa27ca7 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -14,10 +14,11 @@ jobs: runs-on: ubuntu-latest container: - image: rust:latest + image: nixos/nix:latest steps: - - uses: actions/checkout@v4 + - name: build + run: nix develop --extra-experimental-features 'nix-command flakes' - name: Install sqlx-cli run: cargo install sqlx-cli --no-default-features --features postgres - name: Prepare diff --git a/flake.nix b/flake.nix index 5a1eed8..4732290 100644 --- a/flake.nix +++ b/flake.nix @@ -57,13 +57,13 @@ with pkgs; [ tmux-setup - act - docker rustToolchain - cargo-watch - cargo-edit - cargo-audit + act cargo + cargo-audit + cargo-edit + cargo-watch + docker openssl ] ++ lib.optionals stdenv.isDarwin [