diff --git a/.github/workflows/verification.yml b/.github/workflows/verification.yml index 2e919ce37..ed3b95086 100644 --- a/.github/workflows/verification.yml +++ b/.github/workflows/verification.yml @@ -7,26 +7,18 @@ on: - master jobs: - tests-lint: - name: Run tests and lint - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: "0" - - name: Unit Tests - uses: cedrickring/golang-action@1.7.0 - env: - GO111MODULE: "on" - with: - args: make install && make test_unit - - name: Lint - uses: cedrickring/golang-action@1.7.0 - env: - GO111MODULE: "on" - with: - args: make install && make lint + lint: + name: Lint + uses: flyteorg/flytetools/.github/workflows/lint.yml@master + with: + go-version: 1.16 + tests: + name: Unit Tests + uses: flyteorg/flytetools/.github/workflows/tests.yml@master + secrets: + FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }} + with: + go-version: 1.16 generate-protos: runs-on: ubuntu-latest name: Generate Protos