Skip to content

fix: instructions for installing v2 package (#8) #42

fix: instructions for installing v2 package (#8)

fix: instructions for installing v2 package (#8) #42

Workflow file for this run

on: [push, workflow_dispatch]
name: Tests
jobs:
golang-test:
name: golang-test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup golang
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Install staticcheck
run: |
go install honnef.co/go/tools/cmd/staticcheck@2025.1.1
- name: Test go app
run: |
go test ./...
- name: check go fmt
run: |
test -z $(gofmt -l .)
- name: lint with staticcheck
run: |
staticcheck -checks all ./...