Expand readme to include codeql-path output example

Also add example from README into workflow to confirm it is accurate.
This commit is contained in:
Simon Engledew 2020-11-04 19:27:29 +00:00
parent 54f3e52e8f
commit c87f3021d4
No known key found for this signature in database
GPG key ID: 84302E7B02FE8BCE
2 changed files with 19 additions and 1 deletions

View file

@ -15,7 +15,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: ./init
id: init
with:
languages: javascript
config-file: ./.github/codeql/codeql-config.yml
# example from README.md
- name: Print CodeQL Version
run: ${{steps.init.outputs.codeql-path}} version --format=json
- uses: ./analyze