Skip to content

build(deps): bump github.com/z-division/go-zookeeper from 0.0.0-20190128072838-6d7457066b9b to 1.0.0 #471

build(deps): bump github.com/z-division/go-zookeeper from 0.0.0-20190128072838-6d7457066b9b to 1.0.0

build(deps): bump github.com/z-division/go-zookeeper from 0.0.0-20190128072838-6d7457066b9b to 1.0.0 #471

Workflow file for this run

name: check_imports
on: [pull_request,push]
jobs:
build:
name: Check Imports
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17.12
- name: Check out code
uses: actions/checkout@v2
- name: Install goimports
run: |
go install golang.org/x/tools/cmd/goimports@latest
- name: Run goimports
run: |
out=$(goimports -local vitess.io/vitess -l -w $(find . -name "*.go" | grep -v ".pb.go"))
echo $out | grep go > /dev/null && echo -e "The following files are malformatted:\n$out" && exit 1 || echo "All the files are formatted correctly"