Less pinning by default

This commit is contained in:
Joachim Jablon
2021-09-26 18:11:23 +02:00
parent 8dd4b78413
commit b2e84fc37c
2 changed files with 9 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ repository.
### Minimal usage
```yaml
- name: Display coverage
uses: ewjoachim/coverage-comment-action@v1.0.3
uses: ewjoachim/coverage-comment-action@v1
with:
GITHUB_TOKEN: ${{ github.token }}
```
@@ -51,7 +51,7 @@ repository.
### Maximal usage
```yaml
- name: Display coverage
uses: ewjoachim/coverage-comment-action@v1.0.3
uses: ewjoachim/coverage-comment-action@v1
with:
GITHUB_TOKEN: ${{ github.token }}
@@ -77,6 +77,12 @@ repository.
DIFF_COVER_ARGS: ""
```
### Pinning
On the examples above, the version was set to `v1` (a branch). You can also pin
a specific version such as `v1.0.3` (a tag). There are still things left to
figure out in how to manage releases and version. If you're interested, there's
a [corresponding issue](https://github.com/ewjoachim/coverage-comment-action/issues/8).
### Note on the state of this action
There is no automated test and the dependencies are not frozen, so it's

View File

@@ -50,7 +50,7 @@ inputs:
runs:
using: docker
# image: Dockerfile
image: docker://ewjoachim/coverage-comment-action:v1.0.3
image: docker://ewjoachim/coverage-comment-action:latest
env:
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
COVERAGE_FILE: ${{ inputs.COVERAGE_FILE }}