diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index bb15016c3..80bdd411a 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.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 diff --git a/cmd/crowdsec-cli/dashboard.go b/cmd/crowdsec-cli/dashboard.go index a6329b5f5..21bee6c46 100644 --- a/cmd/crowdsec-cli/dashboard.go +++ b/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{