Jeroen van Rijn 2 months ago
parent
commit
828d4c71d2
1 changed files with 6 additions and 5 deletions
  1. 6 5
      .github/workflows/cover.yml

+ 6 - 5
.github/workflows/cover.yml

@@ -52,8 +52,9 @@ jobs:
           ./odin build tests/internal -build-mode:test -debug -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_amd64
           kcov --exclude-path=tests --exclude-path=/usr kcov-out ./internal .
 
-      - name: Report
-        env:
-          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
-        run: |
-          bash <(curl -s https://codecov.io/bash) -s kcov-out
+      - uses: codecov/codecov-action@v5
+        with:
+          name: Ubuntu Coverage # optional
+          token: ${{ secrets.CODECOV_TOKEN }}
+          verbose: true # optional (default = false
+          directory: kcov-out/kcov-merged