Merge pull request #66 from opzkit/backup-retention #237
Workflow file for this run
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: [ push, workflow_dispatch ] | |
jobs: | |
examples: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
tf-version: [ 1.3.1, 1.3.2 ] | |
steps: | |
- name: Install terraform v${{ matrix.tf-version }} | |
run: | | |
curl -LO https://releases.hashicorp.com/terraform/${{ matrix.tf-version }}/terraform_${{ matrix.tf-version }}_linux_amd64.zip | |
unzip terraform_${{ matrix.tf-version }}_linux_amd64.zip | |
sudo mv terraform /usr/local/bin | |
rm * | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Validate examples terraform v${{ matrix.tf-version }} | |
run: make examples | |
build: | |
needs: [examples] | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "OK" |