Thibault bui Koechlin %!s(int64=5) %!d(string=hai) anos
pai
achega
356ce3e7f9
Modificáronse 2 ficheiros con 0 adicións e 9 borrados
  1. 0 5
      .github/workflows/golangci-lint.yml
  2. 0 4
      cmd/crowdsec-cli/dashboard.go

+ 0 - 5
.github/workflows/golangci-lint.yml

@@ -12,17 +12,12 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - 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
         uses: golangci/golangci-lint-action@v1
         with:
           # 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
           # Optional: golangci-lint command line arguments.
-          #args: -v --new-from-rev=remotes/origin/master
           only-new-issues: true
 
 

+ 0 - 4
cmd/crowdsec-cli/dashboard.go

@@ -43,10 +43,6 @@ var (
 	defaultEmail         = "metabase@crowdsec.net"
 )
 
-func thisIsDeadCode() {
-	//yep dead code to check linter
-}
-
 func NewDashboardCmd() *cobra.Command {
 	/* ---- UPDATE COMMAND */
 	var cmdDashboard = &cobra.Command{