Skip to content

Commit

Permalink
ci: fix simple.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhuizuo committed Nov 14, 2023
1 parent fbc7d93 commit 1355e39
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,12 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"

go-version-file: 'go.mod'
- name: Test # only test a simple pkg.
run: go test -covermode=atomic -coverprofile=coverage.out -v ./config/... ./metrics/...
run: go test -covermode=atomic -coverprofile=coverage.out -v ./pkg/config/... ./pkg/metrics/...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 1355e39

Please sign in to comment.