Skip to content

Commit 66c25cd

Browse files
authored
build: Go 1.17 (#180)
1 parent 3c32775 commit 66c25cd

File tree

6 files changed

+61
-12
lines changed

6 files changed

+61
-12
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
- name: Checkout
2222
uses: actions/checkout@v2
2323
- name: Set up Go
24-
uses: actions/setup-go@v2.1.3
24+
uses: actions/setup-go@v2
2525
with:
26-
go-version: 1.16
26+
go-version: 1.17
2727
- name: Restore Cache
28-
uses: actions/cache@v2.1.6
28+
uses: actions/cache@v2
2929
with:
3030
path: |-
3131
~/go/pkg/mod

.github/workflows/generated_code_checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
with:
1212
submodules: true
1313
- name: Set up Go
14-
uses: actions/setup-go@v2.1.3
14+
uses: actions/setup-go@v2
1515
with:
16-
go-version: 1.16
16+
go-version: 1.17
1717
- name: Restore Cache
18-
uses: actions/cache@v2.1.6
18+
uses: actions/cache@v2
1919
with:
2020
path: |-
2121
~/go/pkg/mod

.github/workflows/goreleaser.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: goreleaser
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
check:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0
19+
- name: Set up Go
20+
uses: actions/setup-go@v2
21+
with:
22+
go-version: 1.17
23+
- name: goreleaser check
24+
uses: goreleaser/goreleaser-action@v2
25+
with:
26+
version: v0.178.0
27+
args: check

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818
- name: Set up Go
19-
uses: actions/setup-go@v2.1.3
19+
uses: actions/setup-go@v2
2020
with:
21-
go-version: 1.16
21+
go-version: 1.17
2222
- name: Restore Cache
23-
uses: actions/cache@v2.1.6
23+
uses: actions/cache@v2
2424
with:
2525
path: |-
2626
~/go/pkg/mod
@@ -33,7 +33,7 @@ jobs:
3333
- name: Run GoReleaser
3434
uses: goreleaser/goreleaser-action@v2
3535
with:
36-
version: v0.169.0
36+
version: v0.178.0
3737
args: release --rm-dist
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This ruleset focus on possible errors and best practices about AWS resources. Ma
1010
## Requirements
1111

1212
- TFLint v0.30+
13-
- Go v1.16
13+
- Go v1.17
1414

1515
## Installation
1616

go.mod

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/terraform-linters/tflint-ruleset-aws
22

3-
go 1.16
3+
go 1.17
44

55
require (
66
github.com/agext/levenshtein v1.2.2 // indirect
@@ -34,3 +34,25 @@ require (
3434
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
3535
gopkg.in/yaml.v2 v2.4.0 // indirect
3636
)
37+
38+
require (
39+
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
40+
github.com/golang/protobuf v1.4.2 // indirect
41+
github.com/hashicorp/errwrap v1.0.0 // indirect
42+
github.com/hashicorp/go-hclog v0.16.2 // indirect
43+
github.com/hashicorp/go-plugin v1.4.2 // indirect
44+
github.com/hashicorp/go-version v1.3.0 // indirect
45+
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect
46+
github.com/jmespath/go-jmespath v0.4.0 // indirect
47+
github.com/kr/pretty v0.2.1 // indirect
48+
github.com/mattn/go-isatty v0.0.12 // indirect
49+
github.com/oklog/run v1.0.0 // indirect
50+
github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect
51+
github.com/vmihailenco/tagparser v0.1.1 // indirect
52+
golang.org/x/mod v0.4.2 // indirect
53+
golang.org/x/net v0.0.0-20210614182718-04defd469f4e // indirect
54+
golang.org/x/sys v0.0.0-20210510120138-977fb7262007 // indirect
55+
golang.org/x/text v0.3.6 // indirect
56+
golang.org/x/tools v0.1.1 // indirect
57+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
58+
)

0 commit comments

Comments
 (0)