0ee38a48e4
* 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>
14 lines
357 B
Bash
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
|