Forgejo action to setup OpenTofu - adapted from opentofu/setup-opentofu
Minimal Forgejo composite action that downloads and installs the OpenTofu CLI binary. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| action.yml | ||
| LICENSE | ||
| README.md | ||
Setup OpenTofu
Forgejo composite action that installs the OpenTofu CLI.
Usage
steps:
- uses: https://git.martin.md/actions/action-setup-opentofu@main
- run: tofu init && tofu validate
Pin a specific version
- uses: https://git.martin.md/actions/action-setup-opentofu@main
with:
tofu_version: '1.11.6'
Inputs
| Name | Description | Default |
|---|---|---|
tofu_version |
The version of OpenTofu to install | 1.11.6 |