diff --git a/.drone.star b/.drone.star index d043624..d26b88c 100644 --- a/.drone.star +++ b/.drone.star @@ -5,6 +5,7 @@ def main(ctx): linux(ctx, 'amd64'), linux(ctx, 'arm64'), linux(ctx, 'arm'), + windows(ctx, '1909'), windows(ctx, '1903'), windows(ctx, '1809'), ] @@ -33,7 +34,7 @@ def testing(ctx): 'steps': [ { 'name': 'staticcheck', - 'image': 'golang:1.14', + 'image': 'golang:1.15', 'pull': 'always', 'commands': [ 'go run honnef.co/go/tools/cmd/staticcheck ./...', @@ -47,7 +48,7 @@ def testing(ctx): }, { 'name': 'lint', - 'image': 'golang:1.14', + 'image': 'golang:1.15', 'pull': 'always', 'commands': [ 'go run golang.org/x/lint/golint -set_exit_status ./...', @@ -61,7 +62,7 @@ def testing(ctx): }, { 'name': 'vet', - 'image': 'golang:1.14', + 'image': 'golang:1.15', 'pull': 'always', 'commands': [ 'go vet ./...', @@ -75,7 +76,7 @@ def testing(ctx): }, { 'name': 'test', - 'image': 'golang:1.14', + 'image': 'golang:1.15', 'pull': 'always', 'commands': [ 'go test -cover ./...', @@ -146,7 +147,7 @@ def linux(ctx, arch): 'steps': [ { 'name': 'environment', - 'image': 'golang:1.14', + 'image': 'golang:1.15', 'pull': 'always', 'environment': { 'CGO_ENABLED': '0', @@ -158,7 +159,7 @@ def linux(ctx, arch): }, { 'name': 'build', - 'image': 'golang:1.14', + 'image': 'golang:1.15', 'pull': 'always', 'environment': { 'CGO_ENABLED': '0', @@ -167,7 +168,7 @@ def linux(ctx, arch): }, { 'name': 'executable', - 'image': 'golang:1.14', + 'image': 'golang:1.15', 'pull': 'always', 'commands': [ './release/linux/%s/drone-download --help' % (arch), diff --git a/.github/settings.yml b/.github/settings.yml index a21e5f1..9e0e2b3 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -69,5 +69,9 @@ branches: - continuous-integration/drone/pr enforce_admins: false restrictions: + apps: + - renovate users: [] - teams: [] + teams: + - Admins + - Maintainers diff --git a/go.mod b/go.mod index a062ba3..5ff93c4 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,10 @@ module github.com/drone-plugins/drone-download -go 1.14 +go 1.15 require ( github.com/drone-plugins/drone-plugin-lib v0.3.1 github.com/joho/godotenv v1.3.0 github.com/sirupsen/logrus v1.6.0 github.com/urfave/cli/v2 v2.2.0 - golang.org/x/sys v0.0.0-20200519105757-fe76b779f299 // indirect ) diff --git a/go.sum b/go.sum index 78aee30..0d41dc0 100644 --- a/go.sum +++ b/go.sum @@ -21,8 +21,7 @@ github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1 github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/urfave/cli/v2 v2.2.0 h1:JTTnM6wKzdA0Jqodd966MVj4vWbbquZykeX1sKbe2C4= github.com/urfave/cli/v2 v2.2.0/go.mod h1:SE9GqnLQmjVa0iPEY0f1w3ygNIYcIJ0OKPMoW2caLfQ= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894 h1:Cz4ceDQGXuKRnVBDTS23GTn/pU5OE2C0WrNTOYK1Uuc= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200519105757-fe76b779f299 h1:DYfZAGf2WMFjMxbgTjaC+2HC7NkNAQs+6Q8b9WEB/F4= -golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..a88a8a2 --- /dev/null +++ b/renovate.json @@ -0,0 +1,26 @@ +{ + "extends": [ + "config:base", + ":automergeMinor", + ":automergeDigest" + ], + "enabledManagers": [ + "dockerfile", + "gomod" + ], + "dockerfile": { + "fileMatch": [ + "docker/Dockerfile\\.linux\\.(arm|arm64|amd64|multiarch)", + "docker/Dockerfile\\.windows\\.(1809|1903|1909|2004)" + ], + "pinDigests": true + }, + "gomod": { + "postUpdateOptions": [ + "gomodTidy" + ] + }, + "labels": [ + "renovate" + ] +}