Skip to content

change structure per feedback #21

change structure per feedback

change structure per feedback #21

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: ${{ vars.GO_VERSION }}
- name: Install staticcheck
run: |
go install honnef.co/go/tools/cmd/[email protected]
- name: Test go app
run: |
go test ./...
- name: check go fmt
run: |
test -z $(gofmt -l .)
- name: lint with staticcheck
run: |
staticcheck -checks all ./...