Skip to content

Commit 8729a59

Browse files
authored
Merge pull request #85 from Renato66/72-upload-codecov-coverage-report
feat: use code cov to push files
2 parents ba078ed + ace9a50 commit 8729a59

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/checks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212
- uses: oven-sh/setup-bun@v1
13-
- uses: actions/cache@v3
13+
- uses: actions/cache@v4
1414
with:
1515
path: ~/.bun
1616
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}

.github/workflows/codecov.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,15 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: oven-sh/setup-bun@v1
15-
- uses: actions/cache@v3
15+
- uses: actions/cache@v4
1616
with:
1717
path: ~/.bun
1818
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
1919
restore-keys: |
2020
${{ runner.os }}-bun-${{ github.ref }}
2121
- run: bun install
22-
- run: bun test --coverage
23-
#
24-
# - name: Upload coverage to Codecov
25-
# uses: codecov/codecov-action@v3
26-
# with:
27-
# directory: ./coverage
22+
- run: bun test --coverage --coverage-reporter=lcov
23+
- name: Upload coverage to Codecov
24+
uses: codecov/codecov-action@v4
25+
with:
26+
token: ${{ secrets.CODECOV_TOKEN }} # required

0 commit comments

Comments
 (0)