diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c261b97..0950026 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,19 @@ on: jobs: + vendor: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.16.5 + - name: Vendor + run: | + make vendor + git diff --exit-code + build: runs-on: ubuntu-latest steps: @@ -116,6 +129,7 @@ jobs: push: if: github.event_name != 'pull_request' needs: + - vendor - build - linux - darwin