File tree Expand file tree Collapse file tree 2 files changed +8
-17
lines changed
Expand file tree Collapse file tree 2 files changed +8
-17
lines changed Original file line number Diff line number Diff line change 3131 echo "coverage=$COVERAGE" >> $GITHUB_ENV
3232 echo "::set-output name=coverage::$COVERAGE"
3333 - name : Create coverage badge
34- uses : schneegans/dynamic-badges- action@v1.7.0
34+ uses : codecov/codecov- action@v3
3535 with :
36- auth : ${{ secrets.GITHUB_TOKEN }}
37- name : coverage
38- label : Coverage
39- value : ${{ env.coverage }}
40- color : green
41- path : badges/coverage.svg
42- - name : Commit coverage badge
43- run : |
44- git config --local user.email "[email protected] " 45- git config --local user.name "GitHub Action"
46- git add badges/coverage.svg
47- git commit -m "Update coverage badge" || exit 0
48- git push
36+ token : ${{ secrets.CODECOV_TOKEN }}
37+ files : target/site/jacoco/jacoco.xml
38+ fail_ci_if_error : true
Original file line number Diff line number Diff line change 22
33[ ![ Java 21] ( https://img.shields.io/badge/Java-21-blue.svg )] ( https://www.java.com )
44[ ![ Maven 3] ( https://img.shields.io/badge/Maven-3-blue.svg )] ( https://maven.apache.org )
5- [ ![ JUnit 5] ( https://img.shields.io/badge/JUnit-5-blue.svg )] ( https://junit.org/junit5/ )
6- [ ![ JaCoCo 0.8.x] ( https://img.shields.io/badge/JaCoCo-Coverage-blue.svg )] ( https://www.jacoco.org/jacoco/ )
5+ [ ![ JUnit 5] ( https://img.shields.io/badge/JUnit-5-blue.svg )] ( https://junit.org/junit5/ )
6+ [ ![ JaCoCo 0.8.x] ( https://img.shields.io/badge/JaCoCo-Coverage-blue.svg )] ( https://www.jacoco.org/jacoco/ )
7+
78[ ![ Build Status] ( https://github.com/luismr/dictionary-search-anagrams-java/actions/workflows/maven.yml/badge.svg )] ( https://github.com/luismr/dictionary-search-anagrams-java/actions/workflows/maven.yml )
8- [ ![ Coverage ] ( https://img.shields. io/badge/coverage-80%25-brightgreen )] ( https://github.com/ luismr/dictionary-search-anagrams-java/actions/workflows/maven.yml )
9+ [ ![ codecov ] ( https://codecov. io/gh/luismr/dictionary-search-anagrams-java/branch/main/graph/badge.svg )] ( https://codecov.io/gh/ luismr/dictionary-search-anagrams-java )
910
1011A Java library for searching anagrams in a dictionary with different implementations.
1112
You can’t perform that action at this time.
0 commit comments