Skip to content

Commit

Permalink
ci: WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Harald Hoyer <[email protected]>
  • Loading branch information
haraldh committed Mar 27, 2024
1 parent cdffcbd commit 9e69e96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
- uses: rui314/setup-mold@v1
- run: nix develop --impure -c cargo hack --each-feature --all clippy -- -D warnings

fmt:
Expand Down Expand Up @@ -66,8 +64,6 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: Swatinem/rust-cache@v2
- uses: rui314/setup-mold@v1
- uses: taiki-e/install-action@nextest
- run: nix develop --impure --command bash -c "unset LD_LIBRARY_PATH && cargo nextest run --all-features"
env:
DATABASE_URL: "postgres://postgres:postgres@localhost/test_db"
Expand Down
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@
{
formatter = pkgs.nixpkgs-fmt;
packages = rec {
# Hack to make latest devenv work
devenv-up = self.devShells.${system}.default.config.procfileScript;

default = main;

cli = craneLib.buildPackage (commonArgs // rec {
Expand Down Expand Up @@ -163,6 +166,8 @@
packages = with pkgs; [
cargo-insta
diesel-cli
cargo-nextest
cargo-hack
rust-bin.stable.latest.default
]
++
Expand Down

0 comments on commit 9e69e96

Please sign in to comment.