build: bump golang from 1.15.2-alpine to 1.15.6-alpine (#352)

* build: bump golang from 1.15.2-alpine to 1.15.6-alpine

Bumps golang from 1.15.2-alpine to 1.15.6-alpine.

Signed-off-by: dependabot[bot] <support@github.com>

* update CI to use go1.15.6

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
This commit is contained in:
dependabot[bot]
2021-01-04 15:10:29 -05:00
committed by GitHub
parent 55cf46abd5
commit aa89342f7f
6 changed files with 14 additions and 14 deletions

View File

@@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15.1
go-version: 1.15.6
id: go
- name: Check out code into the Go module directory
@@ -30,7 +30,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15.1
go-version: 1.15.6
id: go
- name: Check out code into the Go module directory
@@ -49,7 +49,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15.1
go-version: 1.15.6
id: go
- name: Check out code into the Go module directory
@@ -68,7 +68,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15.1
go-version: 1.15.6
id: go
- name: Check out code into the Go module directory
@@ -87,7 +87,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15.1
go-version: 1.15.6
id: go
- name: Check out code into the Go module directory

View File

@@ -13,7 +13,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15.1
go-version: 1.15.6
id: go
- name: Check out code into the Go module directory

View File

@@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15.1
go-version: 1.15.6
id: go
- name: Check out code into the Go module directory

View File

@@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15.1
go-version: 1.15.6
id: go
- name: Check out code into the Go module directory
@@ -30,7 +30,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15.1
go-version: 1.15.6
id: go
- name: Check out code into the Go module directory
@@ -48,7 +48,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15.1
go-version: 1.15.6
id: go
- name: Check out code into the Go module directory
@@ -66,7 +66,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15.1
go-version: 1.15.6
id: go
- name: Check out code into the Go module directory
@@ -82,7 +82,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15.1
go-version: 1.15.6
id: go
- name: Check out code into the Go module directory

View File

@@ -1,4 +1,4 @@
FROM golang:1.15.2-alpine AS builder
FROM golang:1.15.6-alpine AS builder
RUN apk add --update --no-cache ca-certificates bash make gcc musl-dev git openssh wget curl

View File

@@ -50,7 +50,7 @@ GO111MODULE="on" go get github.com/terraform-docs/terraform-docs@v0.10.1
GO111MODULE="on" go get github.com/segmentio/terraform-docs@v0.9.1
```
**NOTE:** please use the latest go to do this, we use 1.15.1 but ideally go 1.14 or greater.
**NOTE:** please use the latest go to do this, we use 1.15.6 but ideally go 1.14 or greater.
This will put `terraform-docs` in `$(go env GOPATH)/bin`. If you encounter the error `terraform-docs: command not found` after installation then you may need to either add that directory to your `$PATH` as shown [here](https://golang.org/doc/code.html#GOPATH) or do a manual installation by cloning the repo and run `make build` from the repository which will put `terraform-docs` in: