From d9ed4cfefab0e63e0912333dae746d2ffffda44d Mon Sep 17 00:00:00 2001 From: Mayank Shah Date: Wed, 23 Sep 2020 16:55:14 +0530 Subject: [PATCH] Add golang-ci-linter Signed-off-by: Mayank Shah --- .github/workflows/static.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/static.yaml diff --git a/.github/workflows/static.yaml b/.github/workflows/static.yaml new file mode 100644 index 00000000000..496a8a381a7 --- /dev/null +++ b/.github/workflows/static.yaml @@ -0,0 +1,16 @@ +name: Static Checks +on: + pull_request: {} + push: {} +jobs: + go_lint: + 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 --timeout=30m0s