Skip to content

fix unit tests

fix unit tests #7

Workflow file for this run

name: GoFmt
on: [push]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
cache-dependency-path: go.sum
- name: Check file format
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi