Skip to content

Commit

Permalink
chore(ci): add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
pancsta committed Jun 27, 2024
1 parent 4b26373 commit 6d7a029
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ jobs:
- name: Install dependencies
run: go mod tidy
- name: Test
run: go test ./...
run: go test -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ tasks:

gen-changelog:
cmds:
- github_changelog_generator
- github_changelog_generator --config-file config/.github_changelog_generator.yml
- head -n -4 CHANGELOG.md > CHANGELOG-tmp.md
- mv CHANGELOG-tmp.md CHANGELOG.md

Expand Down
File renamed without changes.

0 comments on commit 6d7a029

Please sign in to comment.