Commit fa7dd82
authored
Set Actions Go version from go.mod (#389)
The `.palantir/go-version` file is no longer supported, so always build
with the latest patch release of the version specified in `go.mod.` This
mostly matches the behavior we're adopting internally, with the main
difference being that we'll never build with a newer major version of Go
than what is specified in our `go.mod` file. We can't rely on the
default behavior of the `setup-go` action because it always downloads
the exact version in `go.mod` when a patch version is specified.1 parent d216caa commit fa7dd82
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments