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: tofu init