mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
* Do not download modules during CI build * install golint in non module system * Use vendor in tests + update vendor dir * mod tidy
8 lines
179 B
Bash
Executable File
8 lines
179 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# check_golint.sh
|
|
# Run the linter on everything except generated code
|
|
set -euo pipefail
|
|
|
|
golint -set_exit_status $(GO111MODULE=off go list ./... | grep -v '/mocks')
|