Skip to content

style: reformat all go files #16

style: reformat all go files

style: reformat all go files #16

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
jobs:
py-black:
name: Python Formatter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
go-fmt:
name: Go Formatter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Run go fmt
run: if [ "$(gofmt -s -l $(find . -type f -name '*.go'| grep -v "/.template/") | wc -l)" -gt 0 ]; then exit 1; fi