add support for issue closing #1264
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/[email protected] | |
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 |