diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0868009e..7ac4c6f7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -20,6 +20,36 @@ jobs: - 1.18.x runs-on: ubuntu-latest + steps: + - name: Set up Go release + uses: percona-platform/setup-go@v2 + with: + go-version: ${{ matrix.go-version }} + + - name: Checkout code + uses: percona-platform/checkout@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and install + run: make install + + - name: Run Tests + run: | + make test-cover + make test-crosscover + make test-race + + check: + name: Check + + strategy: + fail-fast: false + matrix: + go-version: + - 1.18.x + runs-on: ubuntu-latest + steps: - name: Set up Go release uses: percona-platform/setup-go@v2 @@ -47,12 +77,3 @@ jobs: REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: make ci-reviewdog - - name: Build and install - run: make install - - - name: Run Tests - run: | - make test-cover - make test-crosscover - make test-race -