CI: Add static checks in GH Actions
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
This commit is contained in:
parent
934c450968
commit
69478752a9
20
.github/workflows/static.yaml
vendored
Normal file
20
.github/workflows/static.yaml
vendored
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user