Skip to content

Commit

Permalink
code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kpk47 committed Sep 15, 2022
1 parent 83f3352 commit a56d945
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
8 changes: 1 addition & 7 deletions actions/installer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,7 @@ For more information about SLSA in general, see [https://slsa.dev](https://slsa.

## Usage

To install the latest version, use:

```yaml
uses: slsa-framework/slsa-verifier-installer
```
To install a specific version, use:
To install a specific version of `slsa-verifier`, use:

```yaml
uses: slsa-framework/slsa-verifier-installer@v1.3.0
Expand Down
6 changes: 3 additions & 3 deletions actions/installer/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ runs:
shell: bash
run: npm ci

- name: Run build and tests
- name: Run build
working-directory: actions/installer
shell: bash
run: npm run all
run: npm run build

- name: Run test
- name: Run installer
env:
ACTION_REF: "${{ github.action_ref }}"
TOKEN: "${{ github.token }}"
Expand Down
5 changes: 3 additions & 2 deletions actions/installer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"description": "",
"main": "lib/index.js",
"scripts": {
"build": "tsc",
"compile": "tsc",
"format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'",
"test": "jasmine",
"package": "ncc build --source-map",
"lint": "eslint src/**/*.ts",
"all": "npm run build && npm run format && npm run lint && npm run test && npm run package"
"build": "npm run compile && npm run package",
"all": "npm run compile && npm run format && npm run lint && npm run test && npm run package"
},
"dependencies": {
"@actions/core": "^1.9.1",
Expand Down

0 comments on commit a56d945

Please sign in to comment.