Skip to content

Commit a89980a

Browse files
authored
chore: upgrade to go 1.18 (infracost#1466)
* go 1.18 gsed -i 's/1\.17/1.18/' Dockerfile* go.mod .github/workflows/* * golangci-lint 1.45 golangci/golangci-lint#2438 https://github.com/golangci/golangci-lint/releases/tag/v1.45.0
1 parent 32f1a7e commit a89980a

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.github/workflows/check-resources.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Set up Go 1.x
1212
uses: actions/setup-go@v2
1313
with:
14-
go-version: 1.17
14+
go-version: 1.18
1515
- name: Configure AWS Credentials
1616
uses: aws-actions/configure-aws-credentials@v1
1717
with:

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Go 1.x
1414
uses: actions/setup-go@v2
1515
with:
16-
go-version: 1.17
16+
go-version: 1.18
1717

1818
- name: Build project
1919
run: |

.github/workflows/go.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
- name: Set up Go 1.x
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: 1.17
19+
go-version: 1.18
2020

2121
- name: Run golangci-lint
2222
uses: golangci/[email protected]
2323
with:
2424
# Required: the version of golangci-lint is required and must be specified without patch version: they always use the latest patch version.
25-
version: v1.41
25+
version: v1.45
2626
args: --timeout 3m0s
2727

2828
- name: Install Terragrunt v0.31.8
@@ -64,7 +64,7 @@ jobs:
6464
- name: Set up Go 1.x
6565
uses: actions/setup-go@v2
6666
with:
67-
go-version: 1.17
67+
go-version: 1.18
6868

6969
- name: Test (AWS)
7070
run: make test_aws
@@ -81,7 +81,7 @@ jobs:
8181
- name: Set up Go 1.x
8282
uses: actions/setup-go@v2
8383
with:
84-
go-version: 1.17
84+
go-version: 1.18
8585

8686
- name: Test (Google)
8787
run: make test_google
@@ -98,7 +98,7 @@ jobs:
9898
- name: Set up Go 1.x
9999
uses: actions/setup-go@v2
100100
with:
101-
go-version: 1.17
101+
go-version: 1.18
102102

103103
- name: Test (Azure)
104104
run: make test_azure

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.17 as builder
1+
FROM golang:1.18 as builder
22

33
ARG ARCH=linux
44
ARG DEFAULT_TERRAFORM_VERSION=0.15.5

Dockerfile.ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.17 as builder
1+
FROM golang:1.18 as builder
22

33
ARG ARCH=linux64
44

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/infracost/infracost
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/Masterminds/goutils v1.1.0 // indirect

0 commit comments

Comments
 (0)