Less pinning by default
This commit is contained in:
10
README.md
10
README.md
@@ -43,7 +43,7 @@ repository.
|
|||||||
### Minimal usage
|
### Minimal usage
|
||||||
```yaml
|
```yaml
|
||||||
- name: Display coverage
|
- name: Display coverage
|
||||||
uses: ewjoachim/coverage-comment-action@v1.0.3
|
uses: ewjoachim/coverage-comment-action@v1
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
```
|
```
|
||||||
@@ -51,7 +51,7 @@ repository.
|
|||||||
### Maximal usage
|
### Maximal usage
|
||||||
```yaml
|
```yaml
|
||||||
- name: Display coverage
|
- name: Display coverage
|
||||||
uses: ewjoachim/coverage-comment-action@v1.0.3
|
uses: ewjoachim/coverage-comment-action@v1
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
@@ -77,6 +77,12 @@ repository.
|
|||||||
DIFF_COVER_ARGS: ""
|
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
|
### Note on the state of this action
|
||||||
|
|
||||||
There is no automated test and the dependencies are not frozen, so it's
|
There is no automated test and the dependencies are not frozen, so it's
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: docker
|
using: docker
|
||||||
# image: Dockerfile
|
# image: Dockerfile
|
||||||
image: docker://ewjoachim/coverage-comment-action:v1.0.3
|
image: docker://ewjoachim/coverage-comment-action:latest
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
|
||||||
COVERAGE_FILE: ${{ inputs.COVERAGE_FILE }}
|
COVERAGE_FILE: ${{ inputs.COVERAGE_FILE }}
|
||||||
|
|||||||
Reference in New Issue
Block a user