Skip to content

Commit

Permalink
Upate kind, k8s, golangci-lint versions in pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedwaleedmalik committed Apr 22, 2021
1 parent 16ae27a commit f57c5be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ on:
env:
DOCKER_FILE_PATH: Dockerfile
GOLANG_VERSION: 1.16
KUBERNETES_VERSION: "1.18.0"
KIND_VERSION: "0.7.0"
KUBERNETES_VERSION: "1.20.2"
KIND_VERSION: "0.10.0"
GOLANG_CI_LINT_VERSION: v1.39.0

jobs:
build:
Expand All @@ -30,7 +31,7 @@ jobs:

- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${{ env.GOLANG_CI_LINT_VERSION }}
golangci-lint run --timeout=10m ./...
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ env:
GOLANG_VERSION: 1.16
OPERATOR_SDK_VERSION: "1.2.0"
KUSTOMIZE_VERSION: "3.5.4"
KUBERNETES_VERSION: "1.18.0"
KIND_VERSION: "0.7.0"
KUBERNETES_VERSION: "1.20.2"
KIND_VERSION: "0.10.0"
GOLANG_CI_LINT_VERSION: v1.39.0

jobs:
build:
Expand All @@ -34,7 +35,7 @@ jobs:

- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${{ env.GOLANG_CI_LINT_VERSION }}
golangci-lint run --timeout=10m ./...
- name: Install kubectl
Expand Down

0 comments on commit f57c5be

Please sign in to comment.