Update github.com/diggerhq/digger/backend digest to cd86752 #4037
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: 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 | |
with: | |
tofu_version: 1.8.5 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Deps | |
run: | | |
go get -v ./... | |
working-directory: cli | |
- name: Build | |
run: | | |
go build -v ./cmd/digger | |
working-directory: cli | |
- name: Test | |
shell: bash | |
run: | | |
go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest | |
go test -json ./... | gotestfmt | |
working-directory: cli |