Renovate Bot 9a338d640c chore(deps): update actions/checkout action to v4 (#70)
Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/70
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2024-07-26 18:00:44 +00:00

28 lines
511 B
YAML

name: 'Setup Terraform'
on:
push:
branches:
- main
pull_request:
jobs:
terraform-versions:
name: 'Terraform Versions'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
- name: Terraform fmt
id: fmt
run: terraform fmt -check
continue-on-error: true
- name: Terraform Init
id: init
run: terraform init
- name: Terraform Validate
id: validate
run: terraform validate -no-color