Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump up to Go/1.16 #836

Merged
merged 2 commits into from
Jun 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/gobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ jobs:
GO111MODULE: on
GOPATH: /home/runner/work/terrascan
GOBIN: /home/runner/work/terrascan/bin
GO_VERSION: 1.16
steps:
- name: Checkout Terrascan
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.15
go-version: ${{ env.GO_VERSION }}

- name: Install golint
run: go get -u golang.org/x/lint/golint
Expand Down Expand Up @@ -49,7 +50,7 @@ jobs:

steps:
- name: Checkout Terrascan
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Build Terrascan docker image
run: make docker-build
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/accurics/terrascan

go 1.15
go 1.16

replace (
k8s.io/api => k8s.io/api v0.19.0
Expand Down Expand Up @@ -36,7 +36,6 @@ require (
github.com/pkg/errors v0.9.1
github.com/spf13/afero v1.5.1
github.com/spf13/cobra v1.1.1
github.com/stretchr/testify v1.7.0
github.com/zclconf/go-cty v1.8.2
go.uber.org/zap v1.16.0
golang.org/x/sys v0.0.0-20210601080250-7ecdf8ef093b
Expand Down
Loading