Skip to content

Commit

Permalink
upgrade golang version (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
hedwigz authored Sep 4, 2022
1 parent a430df7 commit 306ed4d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 49 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:

env:
GO_VERSION: "1.17"
GO_VERSION: "1.18"
PORT_CLIENT_ID: ${{ secrets.PORT_CLIENT_ID }}
PORT_CLIENT_SECRET: ${{ secrets.PORT_CLIENT_SECRET }}

Expand All @@ -18,7 +18,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: 'go.mod'
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -34,7 +35,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
go: ['1.17', '1.18']
go: ['1.18', '1.19']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ HOSTNAME=github.com
NAMESPACE=port-labs
NAME=port-labs
BINARY=terraform-provider-${NAME}
VERSION=0.4.1
VERSION=0.4.2
OS=$(shell go env GOOS)
ARCH=$(shell go env GOARCH)
OS_ARCH=${OS}_${ARCH}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/port-labs/terraform-provider-port-labs

go 1.17
go 1.18

require (
github.com/go-resty/resty/v2 v2.7.0
Expand Down
Loading

0 comments on commit 306ed4d

Please sign in to comment.