chore: Add tofu workflows #1
1 changed files with 6 additions and 5 deletions
|
|
@ -20,15 +20,16 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-opentofu@v1
|
- uses: actions/setup-opentofu@v1
|
||||||
|
with:
|
||||||
|
tofu_version: 1.11.5
|
||||||
|
|
||||||
|
- name: OpenTofu Init
|
||||||
|
id: init
|
||||||
|
run: tofu init --upgrade
|
||||||
|
|
||||||
- name: OpenTofu fmt
|
- name: OpenTofu fmt
|
||||||
id: fmt
|
id: fmt
|
||||||
run: tofu fmt -check
|
run: tofu fmt -check
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: OpenTofu Init
|
|
||||||
id: init
|
|
||||||
run: tofu init
|
|
||||||
|
|
||||||
- name: OpenTofu Validate
|
- name: OpenTofu Validate
|
||||||
id: validate
|
id: validate
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue