mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2026-03-06 16:03:12 +00:00
53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "go: build",
|
|
"type": "shell",
|
|
"command": "go",
|
|
"args": ["build", "-v", "./..."],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": ["$go"],
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "shared",
|
|
"showReuseMessage": false,
|
|
"clear": true
|
|
}
|
|
},
|
|
{
|
|
"label": "go: test",
|
|
"type": "shell",
|
|
"command": "go",
|
|
"args": ["test", "-v", "./..."],
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": ["$go"],
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "shared",
|
|
"showReuseMessage": false,
|
|
"clear": true
|
|
}
|
|
},
|
|
{
|
|
"label": "go: test with coverage",
|
|
"type": "shell",
|
|
"command": "go",
|
|
"args": ["test", "-v", "-race", "-coverprofile=coverage.txt", "-covermode=atomic", "./..."],
|
|
"problemMatcher": ["$go"],
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "shared",
|
|
"showReuseMessage": false,
|
|
"clear": true
|
|
}
|
|
}
|
|
]
|
|
}
|