Skip to content

Commit

Permalink
Add a CI check that we are not importing the builtin "os/exec" packag…
Browse files Browse the repository at this point in the history
…e anywhere
  • Loading branch information
ojarjur committed May 11, 2021
1 parent 4705473 commit bd714f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -5,3 +5,5 @@ before_install:
- git fetch --unshallow
- git fetch origin +refs/notes/devtools/*:refs/notes/devtools/*
- git fetch origin +refs/heads/master:refs/heads/master
before_script:
- grep "os/exec" `find ./ -name '*.go'` && exit 1

0 comments on commit bd714f1

Please sign in to comment.