CI: Add static checks in GH Actions

Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
This commit is contained in:
Mayank Shah 2020-11-16 11:55:53 +05:30
parent 934c450968
commit 69478752a9
7 changed files with 20 additions and 0 deletions

20
.github/workflows/static.yaml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Static Checks
on:
pull_request: {}
push: {}
jobs:
go_lint:
# Enable once https://github.com/kubernetes-csi/csi-driver-nfs/issues/90 is fixed
# name: Go Lint
# runs-on: ubuntu-18.04
# steps:
# - name: Checkout code
# uses: actions/checkout@master
# - name: Run linter
# uses: golangci/golangci-lint-action@v1
# with:
# version: v1.29
# args: -E=gofmt,golint,misspell --timeout=30m0s
- name: Verify Helm
run: |
hack/verify-helm-chart.sh