This is taking the tangled.org spindles for a spin.
+11
Diff
round #0
+11
.tangled/workflows/pull-request.yaml
+11
.tangled/workflows/pull-request.yaml
···
1
+
{
2
+
when: [{ event: ["pull_request"], branch: ["main"] }],
3
+
engine: "nixery",
4
+
clone: { skip: false, depth: 1, submodules: false },
5
+
dependencies: { nixpkgs: ["go", "go-tools"] },
6
+
steps:
7
+
[
8
+
{ name: "test", command: "go test ./..." },
9
+
{ name: "lint", command: "staticcheck ./..." },
10
+
],
11
+
}