features/test/go/install_go_tool_in_postCreate.sh

14 lines
383 B
Bash
Raw Permalink Normal View History

#!/bin/bash
set -e
# Optional: Import test library
source dev-container-features-test-lib
check "mkcert version" bash -c "mkcert --version | grep v1.4.2"
check "mkcert is installed at correct path" bash -c "which mkcert | grep /go/bin/mkcert"
check "golangci-lint version" bash -c "golangci-lint --version | grep 'golangci-lint has version 1.50.0'"
# Report result
reportResults