Give up on getting protoc and lint to work in the action

This commit is contained in:
Marc Di Luzio 2020-07-06 17:46:39 +01:00
parent 2fbe2dc1a8
commit 718252731b

View file

@ -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 ./...