Skip to content

Commit 7810f62

Browse files
authored
Merge pull request #3 from T-Systems-MMS/switch_terraform_workflow
change workflow for terraform
2 parents a96bebc + bcba0fd commit 7810f62

File tree

2 files changed

+23
-15
lines changed

2 files changed

+23
-15
lines changed

.github/workflows/terraform-lint.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/terraform.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Terraform
3+
4+
on: [push, pull_request]
5+
6+
jobs:
7+
terraform-lint:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
# Important: This sets up your GITHUB_WORKSPACE environment variable
12+
- uses: actions/checkout@v2
13+
- uses: hashicorp/setup-terraform@v1
14+
15+
- name: fmt
16+
run: terraform fmt -recursive -check
17+
continue-on-error: true
18+
19+
- name: init
20+
run: terraform init
21+
22+
- name: validate
23+
run: terraform validate -no-color

0 commit comments

Comments
 (0)