Updates to support k8s version 1.3X.x and Proxmox 8.3.x #13
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: 'Proxmox K8s Terraform CI' | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
terraform: | |
name: 'Terraform' | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository to the GitHub Actions runner | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# Install the latest version of Terraform CLI and configure the Terraform CLI | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v3 | |
# Initialize a new or existing Terraform working directory by creating initial files, loading any remote state, downloading modules, etc. | |
- name: Terraform Init | |
run: terraform -chdir=terraform init | |
# Checks that all Terraform configuration files adhere to a canonical format | |
- name: Terraform Format | |
run: terraform -chdir=terraform fmt -check | |
# Checks that all Terraform configuration is valid | |
- name: Terraform Validate | |
run: terraform -chdir=terraform validate |