Re-order code checkout
This commit is contained in:
parent
408fffb0c6
commit
2fbe2dc1a8
1 changed files with 3 additions and 3 deletions
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
@ -24,15 +24,15 @@ jobs:
|
||||||
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: Check out repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install protoc and check no difference
|
- name: Install protoc and check no difference
|
||||||
run: |
|
run: |
|
||||||
sudo apt install protobuf-compiler
|
sudo apt install protobuf-compiler
|
||||||
make gen
|
make gen
|
||||||
git update-index --refresh
|
git update-index --refresh
|
||||||
git diff-index --quiet HEAD --
|
git diff-index --quiet HEAD --
|
||||||
|
|
||||||
- name: Check out repo
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
uses: actions-contrib/golangci-lint@v1
|
uses: actions-contrib/golangci-lint@v1
|
||||||
|
|
Loading…
Add table
Reference in a new issue