chore(deps): bump goreleaser/goreleaser-action from 4.3.0 to 5.0.0 #2250
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
branches: | |
- main | |
- v* | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
fail-fast: true | |
matrix: | |
tf-version: [0.15.5, 1.0.11, 1.1.9, 1.2.9, 1.3.9, 1.4.2] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install terraform | |
run: | | |
TERRAFORM_VERSION=${{ matrix.tf-version }} | |
curl -LO https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip | |
unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip | |
sudo mv terraform /usr/local/bin | |
rm * | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19 | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: /home/runner/go/pkg/mod | |
key: go-mod | |
- name: Build install and validate against examples | |
run: | | |
make examples |