From 52ca5390c2b54374e62cbcd2efaf78edaa4e7249 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 29 Mar 2025 15:00:22 -0400 Subject: Add staticheck to CI (#152) * Add staticheck to CI Signed-off-by: Xe Iaso * fix staticcheck warnings Signed-off-by: Xe Iaso * oh, right, playwright is broken Signed-off-by: Xe Iaso --------- Signed-off-by: Xe Iaso --- .github/workflows/go.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2837c98..09b543a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,7 +11,7 @@ permissions: actions: write jobs: - build: + go_tests: #runs-on: alrest-techarohq runs-on: ubuntu-latest steps: @@ -67,7 +67,7 @@ jobs: - name: install playwright browsers run: | npx --yes playwright@1.50.1 install --with-deps - npx --yes playwright@1.50.1 run-server --port 3000 & + npx --yes playwright@1.50.1 run-server --port 9001 & - name: install node deps run: | @@ -79,3 +79,7 @@ jobs: - name: Test run: npm run test + + - uses: dominikh/staticcheck-action@v1 + with: + version: "latest" -- cgit v1.2.3