Skip to content

Commit

Permalink
feat: add initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
kvendingoldo committed Oct 1, 2024
1 parent 4611c01 commit 33fa7ab
Showing 1 changed file with 25 additions and 14 deletions.
39 changes: 25 additions & 14 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,32 @@ jobs:
example:
runs-on: ubuntu-20.04
steps:
- uses: tofuutils/tenv-github-action@main
steps:
- uses: opentofu/setup-opentofu@v1
with:
tool_name: terraform
tool_version: 1.5.7
- name: Test terraform
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}

- name: Test
run: |
ls -lah $GITHUB_WORKSPACE/.tenv
ls -lah ~/.tenv
ls -lah .tenv
terraform version
tenv version
tenv tf install latest
- uses: tofuutils/tenv-github-action@main
with:
tool_name: tofu
tool_version: 1.8.0
- name: Test OpenTofu
run: tofu version
# - uses: tofuutils/tenv-github-action@main
# with:
# tool_name: terraform
# tool_version: 1.5.7
# - name: Test terraform
# run: |
# ls -lah $GITHUB_WORKSPACE/.tenv
# ls -lah ~/.tenv
# ls -lah .tenv
# terraform version

# - uses: tofuutils/tenv-github-action@main
# with:
# tool_name: tofu
# tool_version: 1.8.0

# - name: Test OpenTofu
# run: tofu version

0 comments on commit 33fa7ab

Please sign in to comment.