diff --git a/README.md b/README.md index f89eacb..5a33bc4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Revive Action -This Action runs [Revive](https://github.com/mgechev/revive) on your [Go](https://golang.org/) code and adds optional annotations to the check. +This Action runs [Revive](https://github.com/mgechev/revive) on your [Go](https://golang.org/) code and adds annotations to the check. ## Usage @@ -15,14 +15,14 @@ Use by building from repository ```YAML - name: Run Revive Action by building from repository - uses: morphy2k/revive-action@v1 + uses: morphy2k/revive-action@v2 ``` Use by pulling pre-built image ```YAML - name: Run Revive Action by pulling pre-built image - uses: docker://morphy/revive-action:v1 + uses: docker://morphy/revive-action:v2 ``` Configuration @@ -35,11 +35,6 @@ Configuration exclude: "file.go;foo/bar.go;./foo/bar/..." # Path pattern (default: ./...) path: "./foo/..." - # Name of the check (default: revive-action) - name: "Revive" - env: - # GitHub token for annotations (optional) - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` ## Screenshots diff --git a/screenshot.png b/screenshot.png index 4f4ad3c..98adbbb 100644 Binary files a/screenshot.png and b/screenshot.png differ