diff options
author | Shunya Hayashi <70781900+devshun@users.noreply.github.com> | 2023-05-31 18:53:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-31 18:53:50 +0300 |
commit | cfae3b0f0d016f36229060b0e2abf5d55c9304e3 (patch) | |
tree | 60ebf0e409d058abc4a36eddc2466d22da64e93b /src | |
parent | b48d8700ffe5c0b363c9e8706ba2c1601a2bb94f (diff) |
update go tools (#559)feature_go_1.2.0
* update go tools
* update link
* add unit tests for confirm installation
* fix path install gotests
* fix bump the minor version
Diffstat (limited to 'src')
-rw-r--r-- | src/go/devcontainer-feature.json | 2 | ||||
-rwxr-xr-x | src/go/install.sh | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/src/go/devcontainer-feature.json b/src/go/devcontainer-feature.json index 92ed591..963dc89 100644 --- a/src/go/devcontainer-feature.json +++ b/src/go/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "go", - "version": "1.1.3", + "version": "1.2.0", "name": "Go", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/go", "description": "Installs Go and common Go utilities. Auto-detects latest version and installs needed dependencies.", diff --git a/src/go/install.sh b/src/go/install.sh index 365421e..f79fc6f 100755 --- a/src/go/install.sh +++ b/src/go/install.sh @@ -191,15 +191,18 @@ else fi # Install Go tools that are isImportant && !replacedByGopls based on -# https://github.com/golang/vscode-go/blob/v0.31.1/src/goToolsInformation.ts +# https://github.com/golang/vscode-go/blob/v0.38.0/src/goToolsInformation.ts GO_TOOLS="\ golang.org/x/tools/gopls@latest \ honnef.co/go/tools/cmd/staticcheck@latest \ golang.org/x/lint/golint@latest \ github.com/mgechev/revive@latest \ - github.com/uudashr/gopkgs/v2/cmd/gopkgs@latest \ - github.com/ramya-rao-a/go-outline@latest \ - github.com/go-delve/delve/cmd/dlv@latest" + github.com/go-delve/delve/cmd/dlv@latest \ + github.com/fatih/gomodifytags@latest \ + github.com/haya14busa/goplay/cmd/goplay@latest \ + github.com/cweill/gotests/gotests@latest \ + github.com/josharian/impl@latest" + if [ "${INSTALL_GO_TOOLS}" = "true" ]; then echo "Installing common Go tools..." export PATH=${TARGET_GOROOT}/bin:${PATH} |