Mention how to enable the opentofu attribute when using OpenTofu #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: EE Cli tests | |
"on": | |
push: | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21.1 | |
id: go | |
- name: Setup Opentofu | |
uses: opentofu/setup-opentofu@v1.0.3 | |
with: | |
tofu_version: 1.6.0-alpha3 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Deps | |
run: | | |
go get -v ./... | |
working-directory: ee/cli | |
- name: Build | |
run: | | |
go build -v ./cmd/digger | |
working-directory: ee/cli | |
- name: Test | |
run: go test -v ./... | |
working-directory: ee/cli |