features/test/go/install_go_tool_in_postCreate.sh
Alessandro (Ale) Segala 0ee38a48e4
Install golangci-lint from prebuilt binaries and allow specifying its version (#238)
* Install golangci-lint from prebuilt binaries and allow specifying its version

* Updated as requested

* Update src/go/devcontainer-feature.json

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

* Updated install path

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
2022-10-28 13:57:57 -07:00

14 lines
357 B
Bash

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