Skip to content

handle error

handle error #46

Workflow file for this run

# every push to a branch:
# - check grammar
# - go fmt
name: Code checks
on:
push:
branches:
jobs:
code_style:
name: Go code style
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: '1.20'
- uses: actions/checkout@v3
- name: code style
run: |
gofmt -d $(find . -type f -iname '*.go')