File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments