gh-action: fix check-generated-values (#1865) #1680
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
on: push | |
name: Lint | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Lint YAML files | |
uses: ibiqlik/action-yamllint@v3 | |
- name: Install Opentofu | |
uses: opentofu/setup-opentofu@v1 | |
- name: Check if Opentofu files are properly formatted | |
run: tofu fmt -recursive -check tf |