Add CI job to check for outdated dependencies
Sample:
https://gitlab.com/gitlab-org/container-registry/-/jobs/1046503957
+--------------------------------------+------------------------------------+------------------------------------+--------+------------------+
| MODULE | VERSION | NEW VERSION | DIRECT | VALID TIMESTAMPS |
+--------------------------------------+------------------------------------+------------------------------------+--------+------------------+
| cloud.google.com/go/storage | v1.12.0 | v1.13.0 | true | true |
| github.com/Azure/azure-sdk-for-go | v16.2.1+incompatible | v51.3.0+incompatible | true | true |
| github.com/aws/aws-sdk-go | v1.27.0 | v1.37.15 | true | true |
| github.com/denverdino/aliyungo | v0.0.0-20181224103910-6df11717a253 | v0.0.0-20210222084345-ddfe3452f5e8 | true | true |
| github.com/docker/go-metrics | v0.0.0-20180209012529-399ea8c73916 | v0.0.1 | true | true |
| github.com/docker/libtrust | v0.0.0-20150114040149-fa567046d9b1 | v0.0.0-20160708172513-aabc10ec26b7 | true | true |
| github.com/getsentry/sentry-go | v0.7.0 | v0.10.0 | true | true |
| github.com/go-redis/redis/v8 | v8.4.8 | v8.6.0 | true | true |
| github.com/golang/mock | v1.4.4 | v1.5.0 | true | true |
| github.com/mitchellh/mapstructure | v1.1.2 | v1.4.1 | true | true |
| github.com/ncw/swift | v1.0.52 | v1.0.53 | true | true |
| github.com/olekukonko/tablewriter | v0.0.4 | v0.0.5 | true | true |
| github.com/opencontainers/go-digest | v0.0.0-20170106003457-a6d0ee40d420 | v1.0.0 | true | true |
| github.com/opencontainers/image-spec | v1.0.0 | v1.0.1 | true | true |
| github.com/prometheus/client_golang | v1.3.0 | v1.9.0 | true | true |
| github.com/rubenv/sql-migrate | v0.0.0-20200616145509-8d140a17f351 | v0.0.0-20210215143335-f84234893558 | true | true |
| github.com/sirupsen/logrus | v1.7.0 | v1.8.0 | true | true |
| github.com/spf13/cobra | v0.0.5 | v1.1.3 | true | true |
| github.com/stretchr/testify | v1.6.1 | v1.7.0 | true | true |
| gitlab.com/gitlab-org/labkit | v1.2.0 | v1.3.0 | true | true |
| golang.org/x/crypto | v0.0.0-20200820211705-5c72a883971a | v0.0.0-20210220033148-5ea612d1eb83 | true | true |
| golang.org/x/oauth2 | v0.0.0-20200902213428-5d25da1a8d43 | v0.0.0-20210220000619-9bb904979d93 | true | true |
| golang.org/x/time | v0.0.0-20191024005414-555d28b269f0 | v0.0.0-20210220033141-f8bda1e9f3ba | true | true |
| google.golang.org/api | v0.32.0 | v0.40.0 | true | true |
| gopkg.in/check.v1 | v1.0.0-20190902080502-41f04d3bba15 | v1.0.0-20201130134442-10cb98267c6c | true | true |
| gopkg.in/yaml.v2 | v2.3.0 | v2.4.0 | true | true |
+--------------------------------------+------------------------------------+------------------------------------+--------+------------------+
Edited by João Pereira