add linter to CI

This commit is contained in:
XenGi 2024-01-24 13:33:26 +01:00
parent d52ba880cd
commit 5bb4b1688a
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg

View file

@ -2,8 +2,7 @@ name: Run tests
on:
push:
branches:
- next
pull_request:
workflow_dispatch:
jobs:
@ -20,6 +19,11 @@ jobs:
#go-version: "stable"
go-version-file: "go.mod"
check-latest: true
- name: Run Linter
uses: dominikh/staticcheck-action@v1.3.0
with:
version: "latest"
install-go: false
- name: Run tests
run: make test