Commit e0efa37
authored
🤖 ci: fix GoReleaser warnings (#86)
Summary
- Fixes GoReleaser warnings seen in Actions run 22005983139 (job
63589721092) by pinning the action to GoReleaser v2 and updating our
GoReleaser configuration to v2.
Background
- The release workflow was installing GoReleaser with `version: latest`,
and GoReleaser v2 emits warnings for v0/v1 config and several deprecated
keys.
Implementation
- Pin `goreleaser/goreleaser-action` to `version: "~> v2"`.
- Update `.goreleaser.yaml`:
- add `version: 2`
- migrate `archives.format` -> `archives.formats`
- migrate `dockers` -> `dockers_v2`
- Update `Dockerfile.goreleaser` to use `$TARGETPLATFORM/...` copy
layout required by `dockers_v2`.
Validation
- `goreleaser check`
- `go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.10`
- `make test`
- `make build`
- `make verify-vendor`
- `make lint`
Risks
- Low; changes are limited to release tooling/config.
---
_Generated with [`mux`](https://github.com/coder/mux) • Model:
`openai:gpt-5.2` • Thinking: `xhigh` • Cost: `$0.00`_
<!-- mux-attribution: model=openai:gpt-5.2 thinking=xhigh costs=0.00 -->1 parent e7fe0e0 commit e0efa37
3 files changed
Lines changed: 35 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
| 24 | + | |
23 | 25 | | |
24 | | - | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | | - | |
| 29 | + | |
27 | 30 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
47 | 57 | | |
48 | 58 | | |
49 | 59 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | | - | |
| 6 | + | |
5 | 7 | | |
0 commit comments