Skip to content

build(deps): bump golang.org/x/term from 0.0.0-20210927222741-03fcf44c2211 to 0.22.0 #523

build(deps): bump golang.org/x/term from 0.0.0-20210927222741-03fcf44c2211 to 0.22.0

build(deps): bump golang.org/x/term from 0.0.0-20210927222741-03fcf44c2211 to 0.22.0 #523

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"