diff --git a/.tangled/workflows/deploy.yaml b/.tangled/workflows/deploy.yaml new file mode 100644 index 0000000..6fe32ce --- /dev/null +++ b/.tangled/workflows/deploy.yaml @@ -0,0 +1,20 @@ +when: + - event: ["push", "pull_request"] + branch: ["trunk"] + +dependencies: + nixpkgs: + - nix + - cargo + - rustc + - rustfmt + - clippy + +steps: + - name: "lint & fmt" + command: | + cargo clippy + cargo fmt --check + - name: test + command: | + cargo test