Commit 036f1f8
authored
ci: build the flake and guard the version literal (#39)
Two gaps the nix packaging left open:
- Nothing built the flake, so a go.sum move that stales vendorHash stayed
invisible until someone installed the CLI with nix. The new `nix` job
builds chrome-cdp and runs the binary, so the PR that moves go.sum goes red.
- flake.nix carries the version as a literal, because a flake building
`src = self` has no git tag to read. The release workflow now fails when
the tag and that literal disagree, rather than shipping a binary that
reports the wrong version.1 parent 54d7701 commit 036f1f8
2 files changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
23 | 36 | | |
24 | 37 | | |
25 | 38 | | |
| |||
0 commit comments