Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.
Open
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
.vscode
*.test

# macOS system files
.DS_Store
._*
12 changes: 12 additions & 0 deletions .whitesource
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"scanSettings": {
"baseBranches": []
},
"checkRunSettings": {
"vulnerableCheckRunConclusionLevel": "failure",
"displayMode": "diff"
},
"issueSettings": {
"minSeverityLevel": "LOW"
}
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ require github.com/stretchr/testify v1.6.1
require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 h1:tQIYjPdBoyREyB9XMu+nnTclpTYkz2zFM+lzLJFO4gQ=
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
102 changes: 102 additions & 0 deletions project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"name": "repo-repos-gocat",
"root": "repos/gocat",
"projectType": "library",
"targets": {
"status": {
"executor": "nx:run-commands",
"options": {
"command": "git -C repos/gocat status --short || true"
},
"metadata": {
"supervisorRequired": true
}
},
"fetch": {
"executor": "nx:run-commands",
"options": {
"command": "git -C repos/gocat fetch --all --prune || true"
},
"metadata": {
"supervisorRequired": true
}
},
"log": {
"executor": "nx:run-commands",
"options": {
"command": "git -C repos/gocat log --oneline -10 || true"
},
"metadata": {
"supervisorRequired": true
}
},
"manifests": {
"executor": "nx:run-commands",
"options": {
"command": "find repos/gocat \\( -name package.json -o -name pyproject.toml -o -name Cargo.toml -o -name go.mod -o -name setup.py \\) -not -path '*/node_modules/*' -not -path '*/testdata/*' -not -path '*/fixtures/*' -print | sort"
},
"metadata": {
"supervisorRequired": true
}
},
"go-test": {
"executor": "nx:run-commands",
"options": {
"command": "sh -lc 'cd repos/gocat && go test ./... || true'"
},
"metadata": {
"supervisorRequired": true
}
},
"go-build": {
"executor": "nx:run-commands",
"options": {
"command": "sh -lc 'cd repos/gocat && go build ./... || true'"
},
"metadata": {
"supervisorRequired": true
}
},
"go-vet": {
"executor": "nx:run-commands",
"options": {
"command": "sh -lc 'cd repos/gocat && go vet ./... || true'"
},
"metadata": {
"supervisorRequired": true
}
},
"go-mod-tidy": {
"executor": "nx:run-commands",
"options": {
"command": "sh -lc 'cd repos/gocat && go mod tidy || true'"
},
"metadata": {
"supervisorRequired": true
}
},
"security-go": {
"executor": "nx:run-commands",
"options": {
"command": "sh -lc 'cd repos/gocat && govulncheck ./... || true'"
},
"metadata": {
"supervisorRequired": true
}
},
"security": {
"executor": "nx:run-commands",
"options": {
"command": "sh -lc 'printf \"security targets: security-go\\n\"'"
},
"metadata": {
"supervisorRequired": true
}
}
},
"tags": [
"scope:repos",
"type:subrepo",
"lang:go"
]
}