Fix(CI Pipeline): Update Kubernetes unit tests and CI Pipeline configuration files (#1531)
* fix: update kubernetes unit tests * fix: check whether selectors are present or not * fix: update golang-lint yaml file * fix: downgrade the version of fsouza go docker-client
This commit is contained in:
@@ -3,13 +3,19 @@ on:
|
||||
pull_request:
|
||||
jobs:
|
||||
golangci:
|
||||
strategy:
|
||||
matrix:
|
||||
go: [1.16, 1.17]
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
- uses: actions/checkout@v2
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
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.32.2
|
||||
args: --timeout 5m
|
||||
version: v1.29
|
||||
args: --timeout 5m
|
||||
|
||||
Reference in New Issue
Block a user