Skip to content

Commit 159e802

Browse files
committed
Add go-mod-outdate to azure
1 parent 70ee112 commit 159e802

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

azure-pipelines.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,16 @@ steps:
6262
workingDirectory: '$(modulePath)'
6363
displayName: 'Get errcheck, then run'
6464
65+
# https://github.com/psampaz/go-mod-outdated/archive/v0.3.0.tar.gz
66+
- script: |
67+
mkdir -p $(go env GOPATH)/src/github.com/psampaz/go-mod-outdated
68+
curl -sfL -o $(go env GOPATH)/src/github.com/psampaz/go-mod-outdated.tar.gz https://github.com/psampaz/go-mod-outdated/archive/v0.3.0.tar.gz
69+
tar xzf $(go env GOPATH)/src/github.com/psampaz/go-mod-outdated.tar.gz --directory $(go env GOPATH)/src/github.com/psampaz/go-mod-outdated --strip-components=1
70+
cd $(go env GOPATH)/src/github.com/psampaz/go-mod-outdated && go get ./... && go install && cd -
71+
go list -u -m -json all | go-mod-outdated -update -direct
72+
workingDirectory: '$(modulePath)'
73+
displayName: 'Get go-mod-outdated, then run'
74+
6575
- script: |
6676
go test -v ./...
6777
workingDirectory: '$(modulePath)'

0 commit comments

Comments
 (0)