yep all good
This commit is contained in:
parent
5971b9ab40
commit
356ce3e7f9
5
.github/workflows/golangci-lint.yml
vendored
5
.github/workflows/golangci-lint.yml
vendored
|
@ -12,17 +12,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: git_fetch
|
|
||||||
run: git fetch origin master
|
|
||||||
- name: check_git
|
|
||||||
run: git diff --relative remotes/origin/master
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v1
|
uses: golangci/golangci-lint-action@v1
|
||||||
with:
|
with:
|
||||||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
|
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
|
||||||
version: v1.26
|
version: v1.26
|
||||||
# Optional: golangci-lint command line arguments.
|
# Optional: golangci-lint command line arguments.
|
||||||
#args: -v --new-from-rev=remotes/origin/master
|
|
||||||
only-new-issues: true
|
only-new-issues: true
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -43,10 +43,6 @@ var (
|
||||||
defaultEmail = "metabase@crowdsec.net"
|
defaultEmail = "metabase@crowdsec.net"
|
||||||
)
|
)
|
||||||
|
|
||||||
func thisIsDeadCode() {
|
|
||||||
//yep dead code to check linter
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewDashboardCmd() *cobra.Command {
|
func NewDashboardCmd() *cobra.Command {
|
||||||
/* ---- UPDATE COMMAND */
|
/* ---- UPDATE COMMAND */
|
||||||
var cmdDashboard = &cobra.Command{
|
var cmdDashboard = &cobra.Command{
|
||||||
|
|
Loading…
Reference in a new issue