Skip to content

Commit b1f234b

Browse files
committed
chore(ci): Use github coverage reporting
1 parent 06f89cd commit b1f234b

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ jobs:
194194
coverage:
195195
name: Coverage
196196
runs-on: ubuntu-latest
197+
permissions:
198+
code-quality: write
197199
steps:
198200
- name: Checkout repository
199201
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -208,8 +210,9 @@ jobs:
208210
- name: Install cargo-tarpaulin
209211
run: cargo install cargo-tarpaulin
210212
- name: Gather coverage
211-
run: cargo tarpaulin --output-dir coverage --out lcov
212-
- name: Publish to Coveralls
213-
uses: coverallsapp/github-action@09b709cf6a16e30b0808ba050c7a6e8a5ef13f8d # master
213+
run: cargo tarpaulin --out xml
214+
- name: Upload coverage report
215+
uses: actions/upload-code-coverage@a72ab75b4dee0e479386fb9bf33c8dcf64b9c772 # v1.4.0
214216
with:
215-
github-token: ${{ secrets.GITHUB_TOKEN }}
217+
file: cobertura.xml
218+
language: Rust

0 commit comments

Comments
 (0)