diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1d99059..86c9b12 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,6 +13,8 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v2 + - name: Set up Go 1.x uses: actions/setup-go@v2 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 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 run: | go get -v -t -d ./...