terraform/.forgejo/workflows/non-lab.yml
Chris Cowley 5156b8de66
All checks were successful
/ non-lab (push) Successful in 35s
quick test
2024-09-02 11:22:18 +02:00

20 lines
607 B
YAML

on:
push:
branches:
- 'main'
jobs:
non-lab:
runs-on: docker
#container:
# image: ghcr.io/opentofu/opentofu:1.7.2
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
non-lab
- name: Setup OpenTofu
run: curl -fsSl https://get.opentofu.org/install-opentofu.sh -o /tmp/install-opentofu.sh; chmod +x /tmp/install-opentofu.sh; /tmp/install-opentofu.sh --install-method deb; rm -f /tmp/install-opentofu.sh
- name: Tofu init
working-directory: ${{ githubworkspace }}/non-lab
run: pwd; tofu init; ls -la