Skip to content

build(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.1 #501

build(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.1

build(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.1 #501

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"