From d963a157c0c57f335b7caf26c72b127d1e86d363 Mon Sep 17 00:00:00 2001 From: Vasi Vasireddy <41936996+vasireddy99@users.noreply.github.com> Date: Wed, 13 Dec 2023 09:14:55 -0800 Subject: [PATCH] Combine Job tidy with test (#1048) --- .github/workflows/ci-collector.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/ci-collector.yml b/.github/workflows/ci-collector.yml index e2218c32a9..e25cfc58a2 100644 --- a/.github/workflows/ci-collector.yml +++ b/.github/workflows/ci-collector.yml @@ -15,7 +15,7 @@ on: - main jobs: - tidy: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -31,19 +31,6 @@ jobs: - name: Tidy run: make gotidy working-directory: collector - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 - with: - go-version: '^1.20.8' - - uses: actions/cache@v3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: Run tests run: make gotest working-directory: collector