Skip to content

Commit

Permalink
update codecov workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cornelk committed Jun 23, 2024
1 parent 7ef4f14 commit 9eb0c18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- main
pull_request:
types: [review_requested, ready_for_review]

jobs:
codecov:
Expand All @@ -15,13 +14,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: "1.22"
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get dependencies
run: go mod download
Expand All @@ -30,6 +29,7 @@ jobs:
run: make test-coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./.testCoverage

0 comments on commit 9eb0c18

Please sign in to comment.