Add check to github action that we've run make gen
This commit is contained in:
parent
a112c3ed47
commit
9eb2e08667
1 changed files with 7 additions and 0 deletions
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
|
@ -23,6 +23,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sudo curl -o /usr/local/bin/swagger -L'#' https://github.com/go-swagger/go-swagger/releases/download/v0.23.0/swagger_linux_amd64
|
sudo curl -o /usr/local/bin/swagger -L'#' https://github.com/go-swagger/go-swagger/releases/download/v0.23.0/swagger_linux_amd64
|
||||||
sudo chmod +x /usr/local/bin/swagger
|
sudo chmod +x /usr/local/bin/swagger
|
||||||
|
|
||||||
|
- name: Install protoc and check no difference
|
||||||
|
run: |
|
||||||
|
sudo apt install protobuf-compiler
|
||||||
|
make gen
|
||||||
|
git update-index --refresh
|
||||||
|
git diff-index --quiet HEAD --
|
||||||
|
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
Loading…
Add table
Reference in a new issue