Add staticheck to CI (#152)

* Add staticheck to CI

Signed-off-by: Xe Iaso <me@xeiaso.net>

* fix staticcheck warnings

Signed-off-by: Xe Iaso <me@xeiaso.net>

* oh, right, playwright is broken

Signed-off-by: Xe Iaso <me@xeiaso.net>

---------

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-03-29 15:00:22 -04:00
committed by GitHub
parent 6b2ae30bae
commit 52ca5390c2
5 changed files with 9 additions and 35 deletions

View File

@@ -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"