Skip to content

Commit 306ed4d

Browse files
authored
upgrade golang version (#9)
1 parent a430df7 commit 306ed4d

File tree

4 files changed

+6
-49
lines changed

4 files changed

+6
-49
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77

88
env:
9-
GO_VERSION: "1.17"
9+
GO_VERSION: "1.18"
1010
PORT_CLIENT_ID: ${{ secrets.PORT_CLIENT_ID }}
1111
PORT_CLIENT_SECRET: ${{ secrets.PORT_CLIENT_SECRET }}
1212

@@ -18,7 +18,8 @@ jobs:
1818
- uses: actions/checkout@v3
1919
- uses: actions/setup-go@v3
2020
with:
21-
go-version: ${{ env.GO_VERSION }}
21+
go-version-file: 'go.mod'
22+
cache: true
2223
- name: golangci-lint
2324
uses: golangci/golangci-lint-action@v3
2425
with:
@@ -34,7 +35,7 @@ jobs:
3435
runs-on: ubuntu-20.04
3536
strategy:
3637
matrix:
37-
go: ['1.17', '1.18']
38+
go: ['1.18', '1.19']
3839
steps:
3940
- uses: actions/checkout@v3
4041
- uses: actions/setup-go@v3

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ HOSTNAME=github.com
22
NAMESPACE=port-labs
33
NAME=port-labs
44
BINARY=terraform-provider-${NAME}
5-
VERSION=0.4.1
5+
VERSION=0.4.2
66
OS=$(shell go env GOOS)
77
ARCH=$(shell go env GOARCH)
88
OS_ARCH=${OS}_${ARCH}

go.mod

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

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/go-resty/resty/v2 v2.7.0

0 commit comments

Comments
 (0)