feat: Add CI #1

merged
opened by sachy.dev targeting main from ci

Adds a quick CI pipeline for format checking and unit testing

Changed files
+16
.tangled
workflows
+16
.tangled/workflows/test.yml
···
··· 1 + when: 2 + - event: ["push", "pull_request"] 3 + branch: main 4 + 5 + engine: nixery 6 + 7 + dependencies: 8 + nixpkgs: 9 + - cargo 10 + - rustfmt 11 + 12 + steps: 13 + - name: Format check 14 + command: cargo fmt --all --check 15 + - name: Tests 16 + command: cargo test --workspace