-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add golangci-lint gh action Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Increase timeout Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Remove wrongly commited file Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Add linter to dockerfile Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Add gh linter - fix issues in kubeops, asset-syncer and apprepo-ctrl (#5060) * Fix issues in kubeops Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix issues in assety-syncer Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix isses in apprepository-controller Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix linter issues (#5059) Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Add gh linter - fix issues in kubeappsapis (#5058) * Fix linter issues in test files Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix linter issues Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix issues Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix errata Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix lint issues and tests Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Comment out line as it is just being used by an in-progress unit test Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix test case Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
- Loading branch information
Showing
53 changed files
with
482 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright 2022 VMware, Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: golangci-lint | ||
|
||
on: | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: read | ||
|
||
jobs: | ||
golangci: | ||
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18 | ||
- uses: actions/checkout@v3 | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: latest | ||
args: --timeout=10m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.