Merge pull request #89 from mayankshah1607/mayank/static

CI: Add static checks in GH Actions
This commit is contained in:
Andy Zhang 2020-11-16 16:11:45 +08:00 committed by GitHub
commit d852708787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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