Skip to content

Commit ecc9c01

Browse files
authored
Update README.md (#28)
* Remove unavailable badge from README.md * Add title to README.md * Suggest using newer `codecov/codecov-action` in README.md
1 parent 51178d2 commit ecc9c01

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<p align="center">
2-
<a href="https://github.com/actions/typescript-action/actions"><img alt="typescript-action status" src="https://github.com/actions/typescript-action/workflows/build-test/badge.svg"></a>
3-
</p>
1+
# `julia-actions/julia-processcoverage` Action
42

53
## Usage
64

@@ -9,9 +7,10 @@ See [PkgTemplates.jl](https://github.com/invenia/PkgTemplates.jl/blob/master/tes
97
```yaml
108

119
- uses: julia-actions/julia-processcoverage@v1
12-
- uses: codecov/codecov-action@v2
10+
- uses: codecov/codecov-action@v5
1311
with:
1412
files: lcov.info
13+
token: ${{ secrets.CODECOV_TOKEN }}
1514
```
1615
1716
One can also specify the directory or directories (comma separated) to use via the `directories` input (which defaults to `src,ext`). E.g.
@@ -20,17 +19,19 @@ One can also specify the directory or directories (comma separated) to use via t
2019
- uses: julia-actions/julia-processcoverage@v1
2120
with:
2221
directories: src,ext,examples
23-
- uses: codecov/codecov-action@v2
22+
- uses: codecov/codecov-action@v5
2423
with:
2524
files: lcov.info
25+
token: ${{ secrets.CODECOV_TOKEN }}
2626
```
2727
instructs the action to look for coverage information in `src`, `ext`, and an `examples` folder. Likewise, use
2828
```yaml
2929
- uses: julia-actions/julia-processcoverage@v1
3030
with:
3131
directories: path/to/subdir/package/src
32-
- uses: codecov/codecov-action@v2
32+
- uses: codecov/codecov-action@v5
3333
with:
3434
files: lcov.info
35+
token: ${{ secrets.CODECOV_TOKEN }}
3536
```
3637
to get coverage information from a package in a subdirectory of the repo.

0 commit comments

Comments
 (0)