Skip to content

Feat: OpenTofu Support #74

Feat: OpenTofu Support

Feat: OpenTofu Support #74

Workflow file for this run

name: "Pull Request"
on: pull_request
jobs:
docs:
name: "Ensure 'make docs' has been run"
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate Docs
run: |
export PATH=$PATH:/home/runner/go/bin
make docs-prepare
tfplugindocs generate
- name: Validate No Changes
run: |
git diff --exit-code
gofmt:
name: "Ensure 'go fmt' has been run"
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run gofmt
run: |
go fmt
- name: Validate No Changes
run: |
git diff --exit-code
equivalence:
name: "Ensure 'make equivalence' has been run"
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run equivalence test
run: |
make equivalence
- name: Validate No Changes
run: |
git diff --exit-code