From c9a3884289ae3934d9a7b875c9f576cf7d478242 Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Fri, 2 Dec 2022 08:58:11 +0530 Subject: [PATCH] Add check using staticcheck (#1649) ## Description Add linting using staticcheck. This is added as a separate check from golangci-lint as we were running into memory issues when running it via golangci-lint. ## Type of change - [ ] :sunflower: Feature - [ ] :bug: Bugfix - [ ] :world_map: Documentation - [ ] :robot: Test - [x] :computer: CI/Deployment - [ ] :hamster: Trivial/Minor ## Issue(s) * https://github.com/alcionai/corso/pull/1634 ## Test Plan - [x] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94165bb0c..aa4d5c7f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -360,6 +360,10 @@ jobs: - name: Run go-licenses run: go-licenses check github.com/alcionai/corso/src --ignore github.com/alcionai/corso/src + - name: Run staticcheck + uses: dominikh/staticcheck-action@v1.2.0 + + # ---------------------------------------------------------------------------------------------------- # --- Publish steps ---------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------