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
|
||||
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
|
||||
|
||||
|
||||
|
|
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue