aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/go.yml
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-03-29 15:00:22 -0400
committerGitHub <noreply@github.com>2025-03-29 15:00:22 -0400
commit52ca5390c2b54374e62cbcd2efaf78edaa4e7249 (patch)
treee40c639e99e501bdb91acdc1750d7d16e36cc655 /.github/workflows/go.yml
parent6b2ae30baef6cdc1796a5ec5495c11686aaca50e (diff)
downloadanubis-52ca5390c2b54374e62cbcd2efaf78edaa4e7249.tar.xz
anubis-52ca5390c2b54374e62cbcd2efaf78edaa4e7249.zip
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>
Diffstat (limited to '.github/workflows/go.yml')
-rw-r--r--.github/workflows/go.yml8
1 files changed, 6 insertions, 2 deletions
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"