Skip to content

init(opentofu): test PR ci #14

init(opentofu): test PR ci

init(opentofu): test PR ci #14

Workflow file for this run

name: Tests
on:
push:
branches:
- main
paths:
- '**.rs'
- '**.toml'
- '.github/workflows/tests.yml'
tags:
- '*'
pull_request:
branches:
- main
permissions: {}
env:
CARGO_TERM_COLOR: always
jobs:
terraform:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
#os: [ubuntu-latest, macos-latest]
project: [project1, project2, project4]
tfexe: [terraform, tofu]
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-terraform@v2.0.3
- uses: opentofu/setup-opentofu@v1.0.0
- run: cargo run -- -chdir=${{ matrix.project }} init
env:
TFEXE: ${{ matrix.tfexe }}