Skip to content

Commit

Permalink
Combine Job tidy with test (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasireddy99 authored Dec 13, 2023
1 parent 961ebb8 commit d963a15
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/ci-collector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- main

jobs:
tidy:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -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
Expand Down

0 comments on commit d963a15

Please sign in to comment.