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:
AhmedGrati authored and GitHub committed 2022-11-12 21:46:18 +08:00
1 parent a4413b2570
commit 849c229aad
4 files changed
+49 -18

No files matched your search

+9 -3
View File
@@ -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