1
0
mirror of synced 2025-12-19 09:50:33 -05:00

replace gofmt with goimports (#64)

Co-authored-by: Marina Limeira <marina@gruntwork.io>
This commit is contained in:
Ina Stoyanova
2021-07-14 16:58:47 +03:00
committed by GitHub
parent 3984f43e18
commit ceaf70539d
2 changed files with 3 additions and 1 deletions

View File

@@ -38,6 +38,8 @@ jobs:
- run:
command: |
pip install pre-commit==1.21.0 cfgv==2.0.1 zipp==1.1.0 yapf
go get golang.org/x/tools/cmd/goimports
export GOPATH=~/go/bin && export PATH=$PATH:$GOPATH
pre-commit install
pre-commit run --all-files

View File

@@ -3,5 +3,5 @@ repos:
rev: v0.1.10
hooks:
- id: terraform-fmt
- id: gofmt
- id: goimports