diff --git a/README.md b/README.md index b76a743..8dd7b20 100644 --- a/README.md +++ b/README.md @@ -4,26 +4,26 @@ A GitHub Action that check minimum coverage percentage! ### Usage -#### [Simplecov](https://github.com/colszowka/simplecov) - -```yml -- uses: devmasx/coverage-check-action@v1.0.1 - with: - result_path: coverage/.last_run.json - token: ${{secrets.GITHUB_TOKEN}} - type: simplecov - min_coverage: 90 -``` - #### Lcov ```yml -- uses: devmasx/coverage-check-action@v1.0.1 +- uses: devmasx/coverage-check-action@v1.1.0 with: - result_path: coverage/example.lcov - token: ${{secrets.GITHUB_TOKEN}} type: lcov + result_path: coverage/example.lcov min_coverage: 90 + token: ${{secrets.GITHUB_TOKEN}} +``` + +#### [Simplecov](https://github.com/colszowka/simplecov) + +```yml +- uses: devmasx/coverage-check-action@v1.1.0 + with: + type: simplecov + result_path: coverage/.last_run.json + min_coverage: 90 + token: ${{secrets.GITHUB_TOKEN}} ``` ## Screenshots