Merge pull request #109 from mayankshah1607/mayank/lint
CI: enable golint
This commit is contained in:
commit
892d36b1a0
30
.github/workflows/static.yaml
vendored
30
.github/workflows/static.yaml
vendored
@ -4,17 +4,23 @@ on:
|
|||||||
push: {}
|
push: {}
|
||||||
jobs:
|
jobs:
|
||||||
go_lint:
|
go_lint:
|
||||||
# Enable once https://github.com/kubernetes-csi/csi-driver-nfs/issues/90 is fixed
|
name: Go Lint
|
||||||
# name: Go Lint
|
runs-on: ubuntu-latest
|
||||||
# runs-on: ubuntu-18.04
|
steps:
|
||||||
# steps:
|
- name: Checkout code
|
||||||
# - name: Checkout code
|
uses: actions/checkout@master
|
||||||
# uses: actions/checkout@master
|
- name: Run linter
|
||||||
# - name: Run linter
|
uses: golangci/golangci-lint-action@v2
|
||||||
# uses: golangci/golangci-lint-action@v1
|
with:
|
||||||
# with:
|
version: v1.29
|
||||||
# version: v1.29
|
args: -E=gofmt,golint,misspell --timeout=30m0s
|
||||||
# args: -E=gofmt,golint,misspell --timeout=30m0s
|
verify-helm:
|
||||||
|
name: Verify Helm
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@master
|
||||||
- name: Verify Helm
|
- name: Verify Helm
|
||||||
run: |
|
run: |
|
||||||
hack/verify-helm-chart.sh
|
sudo snap install yq
|
||||||
|
sudo hack/verify-helm-chart.sh
|
||||||
Loading…
x
Reference in New Issue
Block a user