github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/contributing/golang.md (about)

     1  # Nomad Go Version
     2  
     3  Nomad is intended to be built with a specific version of the Go toolchain for
     4  each release. Generally, each Y release of Nomad (where 0.9.5 means X=0, Y=9,
     5  Z=5) will update to the latest version of the Go toolchain available at the
     6  time.
     7  
     8  Nomad Z releases update to the latest Go Z release but do *not* change Go's Y
     9  version.
    10  
    11  ## Version Table
    12  
    13  | Nomad Version | Go Version |
    14  |:-------------:|:----------:|
    15  | 1.0.2         | 1.15.6     |
    16  | 1.0           | 1.15.5     |
    17  | 0.12.2        | 1.14.7     |
    18  | 0.12.1        | 1.14.6     |
    19  | 0.12.0        | 1.14.4     |
    20  | 0.11.4        | 1.14.6     |
    21  | 0.11.3        | 1.14.3     |
    22  | 0.11.0        | 1.14.1     |
    23  | 0.10.4        | 1.12.16    |
    24  | 0.10.2        | 1.12.13    |
    25  | 0.10          | 1.12       |
    26  | 0.9           | 1.11       |
    27  
    28  ## Code
    29  
    30  The
    31  [`update_golang_version.sh`](https://github.com/hashicorp/nomad/blob/master/scripts/update_golang_version.sh)
    32  script is used to update the Go version for all build tools.
    33  
    34  The [Changelog](https://github.com/hashicorp/nomad/blob/master/CHANGELOG.md)
    35  will note when the Go version has changed in the Improvements section:
    36  
    37  ```
    38  * build: Updated to Go 1.12.13 [GH-6606]
    39  ```