diff --git a/.tangled/workflows/ci.yml b/.tangled/workflows/ci.yml new file mode 100644 index 0000000..ed280ee --- /dev/null +++ b/.tangled/workflows/ci.yml @@ -0,0 +1,19 @@ +when: + - event: ["push"] + branch: ["main"] + - event: ["pull_request"] + branch: ["main"] + +engine: "nixery" + +dependencies: + nixpkgs: + - go + +steps: + - name: "Test with coverage" + environment: + CGO_ENABLED: "0" + command: | + go test -coverprofile=coverage.out -covermode=atomic ./... + ./check-coverage