diff --git a/.tangled/workflows/ci.yml b/.tangled/workflows/lint.yml similarity index 85% rename from .tangled/workflows/ci.yml rename to .tangled/workflows/lint.yml index 0ff1512..38fb090 100644 --- a/.tangled/workflows/ci.yml +++ b/.tangled/workflows/lint.yml @@ -5,6 +5,9 @@ when: engine: microvm image: nixos +environment: + CARGO_INCREMENTAL: "0" + dependencies: - rustup - gcc @@ -12,7 +15,6 @@ dependencies: - openssl - protobuf - just - - cargo-nextest steps: - name: fmt @@ -21,5 +23,3 @@ steps: command: cargo check --all-targets - name: clippy command: just clippy - - name: test - command: just test diff --git a/.tangled/workflows/test.yml b/.tangled/workflows/test.yml new file mode 100644 index 0000000..1ff472e --- /dev/null +++ b/.tangled/workflows/test.yml @@ -0,0 +1,24 @@ +when: + - event: ["push", "pull_request"] + branch: ["main"] + +engine: microvm +image: nixos + +environment: + CARGO_INCREMENTAL: "0" + CARGO_PROFILE_DEV_DEBUG: "0" + CARGO_PROFILE_TEST_DEBUG: "0" + +dependencies: + - rustup + - gcc + - pkg-config + - openssl + - protobuf + - just + - cargo-nextest + +steps: + - name: test + command: just test