Skip to content

Commit 279b537

Browse files
authored
ci: add retry to the golangci-lint install step to prevent failure of network issue (Azure#18239)
1 parent 3264ce3 commit 279b537

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eng/pipelines/templates/steps/analyze.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ steps:
2323
golangci-lint --version
2424
displayName: 'Install GoLintCLI and dependencies.'
2525
workingDirectory: $(System.DefaultWorkingDirectory)
26+
retryCountOnTaskFailure: 3
2627
2728
- pwsh: |
2829
$modDirs = ./eng/scripts/get_module_dirs.ps1 '${{ parameters.ServiceDirectory }}'

0 commit comments

Comments
 (0)