From e84994ad951ca86294407aa6e21f5faed99da606 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Sun, 30 Jan 2022 20:15:46 -0700 Subject: [PATCH] Add golangci-lint to CI --- .github/workflows/golangci-lint.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/golangci-lint.yml diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml new file mode 100644 index 0000000..e26eb48 --- /dev/null +++ b/.github/workflows/golangci-lint.yml @@ -0,0 +1,18 @@ +name: golangci-lint +on: + pull_request: + +permissions: + contents: read + +jobs: + golangci: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - uses: golangci/golangci-lint-action@v2 + with: + version: latest + args: --timeout=10m