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 <!--- Please check the type of change your PR introduces: ---> - [ ] 🌻 Feature - [ ] 🐛 Bugfix - [ ] 🗺️ Documentation - [ ] 🤖 Test - [x] 💻 CI/Deployment - [ ] 🐹 Trivial/Minor ## Issue(s) <!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. --> * https://github.com/alcionai/corso/pull/1634 ## Test Plan <!-- How will this be tested prior to merging.--> - [x] 💪 Manual - [ ] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
b52a3323c0
commit
c9a3884289
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -360,6 +360,10 @@ jobs:
|
|||||||
- name: Run go-licenses
|
- name: Run go-licenses
|
||||||
run: go-licenses check github.com/alcionai/corso/src --ignore github.com/alcionai/corso/src
|
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 ----------------------------------------------------------------------------------
|
# --- Publish steps ----------------------------------------------------------------------------------
|
||||||
# ----------------------------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user