From 2c42cb6bf71d935b9dc06ba8b1c2868d913d4d17 Mon Sep 17 00:00:00 2001 From: Nir Date: Tue, 15 Mar 2022 13:50:51 +0100 Subject: [PATCH] Upgrade pipeline --- .github/workflows/lint.yml | 2 +- .github/workflows/release.yml | 6 +++--- .github/workflows/test.yml | 18 +++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 55b49bf..1f1578a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42bd552..dc585ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3 - name: Unshallow run: git fetch --prune --unshallow @@ -17,7 +17,7 @@ jobs: name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.14 + go-version: 1.17 - name: Import GPG key id: import_gpg @@ -28,7 +28,7 @@ jobs: PASSPHRASE: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2.5.0 + uses: goreleaser/goreleaser-action@v2 with: version: latest args: release --rm-dist diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3f8541d..311436d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,13 +21,13 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v2.1.3 + uses: actions/setup-go@v2 with: - go-version: '1.15' + go-version: '1.17' id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3 - name: Get dependencies run: | @@ -46,19 +46,19 @@ jobs: matrix: # list whatever Terraform versions here you would like to support terraform: - - '0.12.29' - - '0.13.4' - - '0.14.0-beta2' + - 'v1.0.11' + - 'v1.1.7' + steps: - name: Set up Go - uses: actions/setup-go@v2.1.3 + uses: actions/setup-go@v2 with: - go-version: '1.15' + go-version: '1.17' id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3 - name: Get dependencies run: |