aboutsummaryrefslogtreecommitdiff
path: root/test/go/install_go_tool_in_postCreate.sh
blob: 54637d956538221d7194c76706f03d70f8fffcad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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