Give up on getting protoc and lint to work in the action
This commit is contained in:
parent
2fbe2dc1a8
commit
718252731b
1 changed files with 2 additions and 13 deletions
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
|
@ -13,6 +13,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
|
@ -24,19 +26,6 @@ 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
|
|
||||||
run: |
|
|
||||||
sudo apt install protobuf-compiler
|
|
||||||
make gen
|
|
||||||
git update-index --refresh
|
|
||||||
git diff-index --quiet HEAD --
|
|
||||||
|
|
||||||
- name: Run golangci-lint
|
|
||||||
uses: actions-contrib/golangci-lint@v1
|
|
||||||
|
|
||||||
- name: Get go dependencies
|
- name: Get go dependencies
|
||||||
run: |
|
run: |
|
||||||
go get -v -t -d ./...
|
go get -v -t -d ./...
|
||||||
|
|
Loading…
Add table
Reference in a new issue