Skip to content

Commit

Permalink
add README
Browse files Browse the repository at this point in the history
  • Loading branch information
zetaron committed May 19, 2020
1 parent b7ac747 commit e06f9df
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# reviewdog caching action

This action loads `reviewdog` into the GitHub Action tools-cache.

## Inputs

### `version`

**Required** The version of reviewdog to load. Default `"latest"`.

## Example usage

```yaml
uses: oknowrun/action-reviewdog@v1
with:
version: 0.10.0
```
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ function getReleaseURL(version = "0.10.0") {
}

async function fetchReviewdog(version = "0.10.0") {
const releaseUrl = getReleaseURL(version);

const reviewdogPath = await tc.downloadTool(getReleaseURL(version));
const reviewdogExtractedFolder = await tc.extractTar(
reviewdogPath,
Expand Down

0 comments on commit e06f9df

Please sign in to comment.