From f806e49a924f43b38a6cec0b916761aab5289714 Mon Sep 17 00:00:00 2001 From: hanen mizouni Date: Thu, 17 Nov 2022 16:40:26 +0000 Subject: [PATCH] fix go version because go-cty requires go 1.18 Signed-off-by: hanen mizouni --- .github/workflows/ci.yml | 6 +++--- go.mod | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a937d5..cdcf8d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.19' + go-version: '1.18' - name: Lint uses: golangci/golangci-lint-action@v3.2.0 with: @@ -44,7 +44,7 @@ jobs: test: strategy: matrix: - go-version: [1.19] + go-version: [1.18] platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} steps: @@ -71,7 +71,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.19 + go-version: 1.18 - name: Build run: GOOS=${{matrix.goos}} go build -v -o packer-plugin-outscale_${{matrix.goos}} - name: Upload a Build Artifact diff --git a/go.mod b/go.mod index 1d7cbd9..1e1f13d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/outscale/packer-plugin-outscale -go 1.19 +go 1.18 require ( github.com/antihax/optional v1.0.0