Skip to content

Commit acb2782

Browse files
committed
Disabling import check pro tem as I'm getting:
go: golang.org/x/tools/cmd/goimports@latest (in golang.org/x/[email protected]): go.mod:3: invalid go version '1.22.0': must match format 1.23 in GH Actions. See golang/go#61888
1 parent 7518038 commit acb2782

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/go.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
set -e
3232
sudo apt-get -qq update && sudo apt-get install -y libtesseract-dev libleptonica-dev tesseract-ocr-eng golang-go
3333
go install github.com/go-critic/go-critic/cmd/gocritic@latest
34-
go install golang.org/x/tools/cmd/goimports@latest
34+
# go install golang.org/x/tools/cmd/goimports@latest
3535
go install golang.org/x/lint/golint@latest
3636
go install github.com/gordonklaus/ineffassign@latest
3737
echo $TERM

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repos:
44
rev: v0.5.9
55
hooks:
66
- id: go-fmt
7-
- id: go-imports
7+
# - id: go-imports
88
- id: go-vet
99
- id: go-lint
1010
- id: go-critic

0 commit comments

Comments
 (0)