mirror of
https://github.com/drone-plugins/drone-npm.git
synced 2026-06-04 18:23:52 +08:00
Update to latest boilr template
This commit is contained in:
+7
-7
@@ -31,7 +31,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 ./...',
|
||||
@@ -45,7 +45,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 ./...',
|
||||
@@ -59,7 +59,7 @@ def testing(ctx):
|
||||
},
|
||||
{
|
||||
'name': 'vet',
|
||||
'image': 'golang:1.14',
|
||||
'image': 'golang:1.15',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'go vet ./...',
|
||||
@@ -73,7 +73,7 @@ def testing(ctx):
|
||||
},
|
||||
{
|
||||
'name': 'test',
|
||||
'image': 'golang:1.14',
|
||||
'image': 'golang:1.15',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'go test -cover ./...',
|
||||
@@ -144,7 +144,7 @@ def linux(ctx, arch):
|
||||
'steps': [
|
||||
{
|
||||
'name': 'environment',
|
||||
'image': 'golang:1.14',
|
||||
'image': 'golang:1.15',
|
||||
'pull': 'always',
|
||||
'environment': {
|
||||
'CGO_ENABLED': '0',
|
||||
@@ -156,7 +156,7 @@ def linux(ctx, arch):
|
||||
},
|
||||
{
|
||||
'name': 'build',
|
||||
'image': 'golang:1.14',
|
||||
'image': 'golang:1.15',
|
||||
'pull': 'always',
|
||||
'environment': {
|
||||
'CGO_ENABLED': '0',
|
||||
@@ -165,7 +165,7 @@ def linux(ctx, arch):
|
||||
},
|
||||
{
|
||||
'name': 'executable',
|
||||
'image': 'golang:1.14',
|
||||
'image': 'golang:1.15',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'./release/linux/%s/drone-npm --help' % (arch),
|
||||
|
||||
@@ -69,5 +69,9 @@ branches:
|
||||
- continuous-integration/drone/pr
|
||||
enforce_admins: false
|
||||
restrictions:
|
||||
apps:
|
||||
- renovate
|
||||
users: []
|
||||
teams: []
|
||||
teams:
|
||||
- Admins
|
||||
- Maintainers
|
||||
|
||||
Reference in New Issue
Block a user