Skip to content

Commit 892d36b

Browse files
authored
Merge pull request #109 from mayankshah1607/mayank/lint
CI: enable golint
2 parents 556a4c4 + 2738092 commit 892d36b

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

.github/workflows/static.yaml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,23 @@ on:
44
push: {}
55
jobs:
66
go_lint:
7-
# Enable once https://github.com/kubernetes-csi/csi-driver-nfs/issues/90 is fixed
8-
# name: Go Lint
9-
# runs-on: ubuntu-18.04
10-
# steps:
11-
# - name: Checkout code
12-
# uses: actions/checkout@master
13-
# - name: Run linter
14-
# uses: golangci/golangci-lint-action@v1
15-
# with:
16-
# version: v1.29
17-
# args: -E=gofmt,golint,misspell --timeout=30m0s
7+
name: Go Lint
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@master
12+
- name: Run linter
13+
uses: golangci/golangci-lint-action@v2
14+
with:
15+
version: v1.29
16+
args: -E=gofmt,golint,misspell --timeout=30m0s
17+
verify-helm:
18+
name: Verify Helm
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@master
1823
- name: Verify Helm
1924
run: |
20-
hack/verify-helm-chart.sh
25+
sudo snap install yq
26+
sudo hack/verify-helm-chart.sh

0 commit comments

Comments
 (0)