From 896c402adc7f7bf17eca58c26896ccc3cfc7faee Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Wed, 2 Oct 2024 07:57:01 -0700 Subject: [PATCH] chore: adds static check as a different build step (#3305) --- .github/workflows/test.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cfd84078..350d842c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -68,10 +68,18 @@ jobs: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest - name: Run Go Tests with Coverage run: make test + staticcheck: + runs-on: ubuntu-latest + name: Go Staticcheck + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Generate dependencies + run: make fake_assets shared_key.pem shared_cert.pem - name: Stactic checker uses: dominikh/staticcheck-action@v1.3.1 with: - install-go: false + version: "latest" int-test: name: Integration Tests timeout-minutes: 60