9 lines
183 B
Bash
Executable File
9 lines
183 B
Bash
Executable File
#!/bin/bash -ex
|
|
|
|
# Ensure the repository is clean after code generation.
|
|
./script/generate
|
|
test -z "$(git status --porcelain)"
|
|
|
|
# Run suite of golangci-lint checks.
|
|
golangci-lint run
|