Skip to content

Commit

Permalink
CI: enable golint
Browse files Browse the repository at this point in the history
Signed-off-by: Mayank Shah <[email protected]>
  • Loading branch information
mayankshah1607 committed Nov 30, 2020
1 parent 0719b0e commit 210fbe4
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,23 @@ on:
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: Go Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Run linter
uses: golangci/golangci-lint-action@v2
with:
version: v1.29
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
run: |
hack/verify-helm-chart.sh
sudo apt install yq
sudo hack/verify-helm-chart.sh

0 comments on commit 210fbe4

Please sign in to comment.