Commit 61116c4
authored
Pin checkout and setup-go to v7 SHAs (#43)
Bumps `actions/checkout` (v4 -> v7) and `actions/setup-go` (v5 -> v7),
and pins both to commit SHAs with ratchet.
The intervening majors are runtime (ESM/Node) and dependency bumps;
nothing this workflow relies on changed. checkout v7 also blocks fork-PR
checkout for `pull_request_target`/`workflow_run`, neither of which this
workflow uses, and setup-go still reads `go-version-file`.
Pinning to a SHA runs an immutable, verified ref instead of a mutable
tag; the `# ratchet:actions/...@v7` comment keeps the version readable
and lets `ratchet update` bump it later. Verified both SHAs resolve to
the current `v7` tags.
Signed-off-by: Seth Vargo <seth@sethvargo.com>1 parent 23a54c1 commit 61116c4
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments