2022-05-12 23:10:51 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2022-05-13 03:07:22 +03:00
|
|
|
# Optional: Import test library
|
|
|
|
source dev-container-features-test-lib
|
2022-05-12 23:10:51 +03:00
|
|
|
|
2023-05-31 18:53:50 +03:00
|
|
|
# go
|
2022-05-12 23:10:51 +03:00
|
|
|
check "version" go version
|
2023-05-31 18:53:50 +03:00
|
|
|
|
|
|
|
# revive
|
2022-09-16 23:51:35 +03:00
|
|
|
check "revive version" revive --version
|
2022-11-23 20:33:50 +03:00
|
|
|
check "revive is installed at correct path" bash -c "which revive | grep /go/bin/revive"
|
2022-05-12 23:10:51 +03:00
|
|
|
|
2023-05-31 18:53:50 +03:00
|
|
|
# gomodifytags
|
|
|
|
check "gomodifytags is installed at correct path" bash -c "which gomodifytags | grep /go/bin/gomodifytags"
|
|
|
|
|
|
|
|
# goplay
|
|
|
|
check "goplay is installed at correct path" bash -c "which goplay | grep /go/bin/goplay"
|
|
|
|
|
|
|
|
# gotests
|
|
|
|
check "gotests is installed at correct path" bash -c "which gotests | grep /go/bin/gotests"
|
|
|
|
|
|
|
|
# impl
|
|
|
|
check "impl is installed at correct path" bash -c "which impl | grep /go/bin/impl"
|
|
|
|
|
2022-05-12 23:10:51 +03:00
|
|
|
# Report result
|
|
|
|
reportResults
|