Skip to content

Commit

Permalink
chore: add timeout on lint target
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienaury committed Mar 23, 2024
1 parent df6e728 commit d791fa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@ targets:
steps:
- if: len(linters) == 0
then:
- $: golangci-lint run --enable-all ={replace(join(appendpath("--disable", lintersno), " "), "/", " ")}
- $: golangci-lint run --timeout 10m --enable-all ={replace(join(appendpath("--disable", lintersno), " "), "/", " ")}
:: true
else:
- $: golangci-lint run ={replace(join(appendpath("--enable", linters), " "), "/", " ")} ={replace(join(appendpath("--disable", lintersno), " "), "/", " ")}
- $: golangci-lint run --timeout 10m ={replace(join(appendpath("--enable", linters), " "), "/", " ")} ={replace(join(appendpath("--disable", lintersno), " "), "/", " ")}
:: true

test:
Expand Down

0 comments on commit d791fa3

Please sign in to comment.