Skip to content

Commit 232a8f9

Browse files
authored
Merge pull request #18 from drone-plugins/boilr-update
Update to latest boilr template
2 parents af602ce + 7889c97 commit 232a8f9

File tree

5 files changed

+41
-12
lines changed

5 files changed

+41
-12
lines changed

.drone.star

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ def main(ctx):
55
linux(ctx, 'amd64'),
66
linux(ctx, 'arm64'),
77
linux(ctx, 'arm'),
8+
windows(ctx, '1909'),
89
windows(ctx, '1903'),
910
windows(ctx, '1809'),
1011
]
@@ -33,7 +34,7 @@ def testing(ctx):
3334
'steps': [
3435
{
3536
'name': 'staticcheck',
36-
'image': 'golang:1.14',
37+
'image': 'golang:1.15',
3738
'pull': 'always',
3839
'commands': [
3940
'go run honnef.co/go/tools/cmd/staticcheck ./...',
@@ -47,7 +48,7 @@ def testing(ctx):
4748
},
4849
{
4950
'name': 'lint',
50-
'image': 'golang:1.14',
51+
'image': 'golang:1.15',
5152
'pull': 'always',
5253
'commands': [
5354
'go run golang.org/x/lint/golint -set_exit_status ./...',
@@ -61,7 +62,7 @@ def testing(ctx):
6162
},
6263
{
6364
'name': 'vet',
64-
'image': 'golang:1.14',
65+
'image': 'golang:1.15',
6566
'pull': 'always',
6667
'commands': [
6768
'go vet ./...',
@@ -75,7 +76,7 @@ def testing(ctx):
7576
},
7677
{
7778
'name': 'test',
78-
'image': 'golang:1.14',
79+
'image': 'golang:1.15',
7980
'pull': 'always',
8081
'commands': [
8182
'go test -cover ./...',
@@ -146,7 +147,7 @@ def linux(ctx, arch):
146147
'steps': [
147148
{
148149
'name': 'environment',
149-
'image': 'golang:1.14',
150+
'image': 'golang:1.15',
150151
'pull': 'always',
151152
'environment': {
152153
'CGO_ENABLED': '0',
@@ -158,7 +159,7 @@ def linux(ctx, arch):
158159
},
159160
{
160161
'name': 'build',
161-
'image': 'golang:1.14',
162+
'image': 'golang:1.15',
162163
'pull': 'always',
163164
'environment': {
164165
'CGO_ENABLED': '0',
@@ -167,7 +168,7 @@ def linux(ctx, arch):
167168
},
168169
{
169170
'name': 'executable',
170-
'image': 'golang:1.14',
171+
'image': 'golang:1.15',
171172
'pull': 'always',
172173
'commands': [
173174
'./release/linux/%s/drone-download --help' % (arch),

.github/settings.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,9 @@ branches:
6969
- continuous-integration/drone/pr
7070
enforce_admins: false
7171
restrictions:
72+
apps:
73+
- renovate
7274
users: []
73-
teams: []
75+
teams:
76+
- Admins
77+
- Maintainers

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
module github.com/drone-plugins/drone-download
22

3-
go 1.14
3+
go 1.15
44

55
require (
66
github.com/drone-plugins/drone-plugin-lib v0.3.1
77
github.com/joho/godotenv v1.3.0
88
github.com/sirupsen/logrus v1.6.0
99
github.com/urfave/cli/v2 v2.2.0
10-
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299 // indirect
1110
)

go.sum

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1
2121
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
2222
github.com/urfave/cli/v2 v2.2.0 h1:JTTnM6wKzdA0Jqodd966MVj4vWbbquZykeX1sKbe2C4=
2323
github.com/urfave/cli/v2 v2.2.0/go.mod h1:SE9GqnLQmjVa0iPEY0f1w3ygNIYcIJ0OKPMoW2caLfQ=
24+
golang.org/x/sys v0.0.0-20190422165155-953cdadca894 h1:Cz4ceDQGXuKRnVBDTS23GTn/pU5OE2C0WrNTOYK1Uuc=
2425
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
25-
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299 h1:DYfZAGf2WMFjMxbgTjaC+2HC7NkNAQs+6Q8b9WEB/F4=
26-
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
2726
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
2827
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

renovate.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"extends": [
3+
"config:base",
4+
":automergeMinor",
5+
":automergeDigest"
6+
],
7+
"enabledManagers": [
8+
"dockerfile",
9+
"gomod"
10+
],
11+
"dockerfile": {
12+
"fileMatch": [
13+
"docker/Dockerfile\\.linux\\.(arm|arm64|amd64|multiarch)",
14+
"docker/Dockerfile\\.windows\\.(1809|1903|1909|2004)"
15+
],
16+
"pinDigests": true
17+
},
18+
"gomod": {
19+
"postUpdateOptions": [
20+
"gomodTidy"
21+
]
22+
},
23+
"labels": [
24+
"renovate"
25+
]
26+
}

0 commit comments

Comments
 (0)