open-nomad/contributing/golang.md
Michael Schurter 772ab5502d build: upgrade from Go 1.15.5 -> 1.15.6
Also updated scripts/update_golang_version.sh to handle new CircleCI
file layout.
2021-01-04 08:34:00 -08:00

40 lines
1.2 KiB
Markdown

# Nomad Go Version
Nomad is intended to be built with a specific version of the Go toolchain for
each release. Generally, each Y release of Nomad (where 0.9.5 means X=0, Y=9,
Z=5) will update to the latest version of the Go toolchain available at the
time.
Nomad Z releases update to the latest Go Z release but do *not* change Go's Y
version.
## Version Table
| Nomad Version | Go Version |
|:-------------:|:----------:|
| 1.0.2 | 1.15.6 |
| 1.0 | 1.15.5 |
| 0.12.2 | 1.14.7 |
| 0.12.1 | 1.14.6 |
| 0.12.0 | 1.14.4 |
| 0.11.4 | 1.14.6 |
| 0.11.3 | 1.14.3 |
| 0.11.0 | 1.14.1 |
| 0.10.4 | 1.12.16 |
| 0.10.2 | 1.12.13 |
| 0.10 | 1.12 |
| 0.9 | 1.11 |
## Code
The
[`update_golang_version.sh`](https://github.com/hashicorp/nomad/blob/master/scripts/update_golang_version.sh)
script is used to update the Go version for all build tools.
The [Changelog](https://github.com/hashicorp/nomad/blob/master/CHANGELOG.md)
will note when the Go version has changed in the Improvements section:
```
* build: Updated to Go 1.12.13 [GH-6606]
```