-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace lint step with official action
- Loading branch information
1 parent
50efdf8
commit 5a0e674
Showing
2 changed files
with
10 additions
and
9 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 |
---|---|---|
|
@@ -10,7 +10,6 @@ env: | |
GOLANG_VERSION: 1.16 | ||
KUBERNETES_VERSION: "1.20.2" | ||
KIND_VERSION: "0.10.0" | ||
GOLANG_CI_LINT_VERSION: v1.39.0 | ||
|
||
jobs: | ||
build: | ||
|
@@ -30,10 +29,11 @@ jobs: | |
go-version: ${{ env.GOLANG_VERSION }} | ||
|
||
- name: Lint | ||
run: | | ||
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 ./... | ||
uses: golangci/[email protected] | ||
with: | ||
version: v1.39.0 | ||
only-new-issues: false | ||
args: --timeout 10m | ||
|
||
- name: Install kubectl | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -12,7 +12,6 @@ env: | |
KUSTOMIZE_VERSION: "3.5.4" | ||
KUBERNETES_VERSION: "1.20.2" | ||
KIND_VERSION: "0.10.0" | ||
GOLANG_CI_LINT_VERSION: v1.39.0 | ||
|
||
jobs: | ||
build: | ||
|
@@ -34,9 +33,11 @@ jobs: | |
go-version: ${{ env.GOLANG_VERSION }} | ||
|
||
- name: Lint | ||
run: | | ||
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 ./... | ||
uses: golangci/[email protected] | ||
with: | ||
version: v1.39.0 | ||
only-new-issues: false | ||
args: --timeout 10m | ||
|
||
- name: Install kubectl | ||
run: | | ||
|