Skip to content

Commit

Permalink
.github/workflows: move dlv to dlv-dap before getting dlv again
Browse files Browse the repository at this point in the history
From the install logs, only a single version of delve is installed:
go: downloading github.com/go-delve/delve v1.6.1-0.20210504195617-c5d58f494a26
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading github.com/spf13/cobra v0.0.0-20170417170307-b6cb39589372
go: downloading github.com/mattn/go-isatty v0.0.3
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/spf13/pflag v0.0.0-20170417173400-9e4c21054fa1
go: downloading gopkg.in/yaml.v2 v2.2.4
go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.3
go: downloading github.com/cosiner/argv v0.1.0
go: downloading github.com/mattn/go-colorable v0.0.0-20170327083344-ded68f7a9561
go: downloading github.com/peterh/liner v0.0.0-20170317030525-88609521dc4b
go: downloading github.com/google/go-dap v0.5.0
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading github.com/russross/blackfriday v1.5.2
go: downloading github.com/hashicorp/golang-lru v0.5.4
go: downloading golang.org/x/arch v0.0.0-20190927153633-4e8777c89be4
go: downloading go.starlark.net v0.0.0-20200821142938-949cc6f4b097
go: downloading github.com/russross/blackfriday v1.6.0
go get: added github.com/go-delve/delve v1.6.1-0.20210504195617-c5d58f494a26

Specify @latest for the stable version of delve.

Change-Id: I403721e47df1cb4c306dbc2369723d52d9af6c47
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/317662
Trust: Suzy Mueller <[email protected]>
Run-TryBot: Suzy Mueller <[email protected]>
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
  • Loading branch information
suzmue committed May 10, 2021
1 parent 54986cd commit 6571316
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-long-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ jobs:
go get github.com/cweill/gotests/...
go get github.com/rogpeppe/godef
go get github.com/ramya-rao-a/go-outline
# Install two versions of dlv (one as dlv-dap)
go get github.com/go-delve/delve/cmd/dlv@master
cp "${HOME}/go/bin/dlv${{env.EXT}}" "${HOME}/go/bin/dlv-dap${{env.EXT}}"
go get github.com/go-delve/delve/cmd/dlv
mv "${HOME}/go/bin/dlv${{env.EXT}}" "${HOME}/go/bin/dlv-dap${{env.EXT}}"
go get github.com/go-delve/delve/cmd/dlv@latest
env:
GO111MODULE: on
EXT: "${{ matrix.os == 'windows-latest' && '.exe' || ''}}"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test-long.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ jobs:
go get github.com/cweill/gotests/...
go get github.com/rogpeppe/godef
go get github.com/ramya-rao-a/go-outline
# Install two versions of dlv (one as dlv-dap)
go get github.com/go-delve/delve/cmd/dlv@master
cp "${HOME}/go/bin/dlv${{env.EXT}}" "${HOME}/go/bin/dlv-dap${{env.EXT}}"
go get github.com/go-delve/delve/cmd/dlv
mv "${HOME}/go/bin/dlv${{env.EXT}}" "${HOME}/go/bin/dlv-dap${{env.EXT}}"
go get github.com/go-delve/delve/cmd/dlv@latest
env:
GO111MODULE: on
EXT: "${{ matrix.os == 'windows-latest' && '.exe' || ''}}"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ jobs:
go get github.com/cweill/gotests/...
go get github.com/rogpeppe/godef
go get github.com/ramya-rao-a/go-outline
# Install two versions of dlv (one as dlv-dap)
go get github.com/go-delve/delve/cmd/dlv@master
cp "${HOME}/go/bin/dlv${{env.EXT}}" "${HOME}/go/bin/dlv-dap${{env.EXT}}"
go get github.com/go-delve/delve/cmd/dlv
mv "${HOME}/go/bin/dlv${{env.EXT}}" "${HOME}/go/bin/dlv-dap${{env.EXT}}"
go get github.com/go-delve/delve/cmd/dlv@latest
env:
GO111MODULE: on
EXT: "${{ matrix.os == 'windows-latest' && '.exe' || ''}}"
Expand Down

0 comments on commit 6571316

Please sign in to comment.