mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-08 11:06:48 +00:00
- Major refactor of project structure and workflows - Replaced legacy scripts and commands with new Go implementation - Updated and added CI/CD workflows - Added new configuration and linting files - Removed deprecated files and test logs - Updated documentation and action metadata This is an initial, non-working draft for v2.0. Further testing and fixes required.
73 lines
1.3 KiB
JSON
73 lines
1.3 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
|
|
}
|
|
}
|
|
]
|
|
} |