Skip to content

Commit 17dae71

Browse files
add codacy
1 parent 795ee80 commit 17dae71

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ jobs:
4848
env:
4949
DATABASE_URL: postgres://postgres:password@localhost:5432/testdb?sslmode=disable
5050

51-
- name: Upload coverage to Codecov
52-
uses: codecov/codecov-action@v3
51+
- name: Upload coverage to Codacy
52+
uses: codacy/codacy-coverage-reporter-action@v1
5353
with:
54-
file: coverage.out
54+
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
55+
coverage-reports: coverage.out
5556

5657
- name: Run linter
5758
uses: golangci/golangci-lint-action@v3

0 commit comments

Comments
 (0)