Skip to content

Commit 254e5c1

Browse files
committed
chore: adding workflow file
1 parent ea85aee commit 254e5c1

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

.github/workflows/workflow.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
name: Terraform CI
2-
3-
on: push
2+
on:
3+
push:
4+
pull_request:
5+
merge_group:
6+
types: [checks_requested]
47

58
jobs:
6-
validate:
7-
name: Validate
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Check out code
11-
uses: actions/checkout@v1
12-
13-
- uses: hashicorp/setup-terraform@v1
14-
with:
15-
terraform_version: ^1.3
16-
17-
- run: terraform init
18-
19-
- run: terraform validate
20-
21-
- run: terraform fmt -recursive -check
9+
build:
10+
uses: meshcloud/shared-workflows/.github/workflows/terraform-meshplatform-modules-build-workflow.yml@main

0 commit comments

Comments
 (0)