Skip to content

Commit fba5261

Browse files
authored
Fix build, use -mod=readonly (grafana#98)
* use -mod=readonly * Create .go-version * Update go.mod * Update .go-version
1 parent d060ca6 commit fba5261

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.go-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.14.2

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ services:
44
- docker
55
language: go
66
go:
7-
- "1.11.x"
7+
- "1.14.x"
88

99
env:
10-
- GOFLAGS=-mod=vendor
10+
- GOFLAGS=-mod=readonly
1111

1212
install:
1313
# This script is used by the Travis build to install a cookie for
@@ -24,6 +24,7 @@ script:
2424
branches:
2525
only:
2626
- master
27+
2728
matrix:
2829
fast_finish: true
2930
allow_failures:

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module github.com/terraform-providers/terraform-provider-grafana
22

3+
go 1.14
4+
35
require (
46
github.com/hashicorp/hcl v1.0.0 // indirect
57
github.com/hashicorp/terraform v0.12.2

0 commit comments

Comments
 (0)