handle error #46
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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') |