[Snyk] Fix for 1 vulnerabilities #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Licenses Check | |
on: [ pull_request ] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-ruby@v1 | |
with: { ruby-version: '2.6' } | |
- uses: actions/setup-go@v2 | |
with: { go-version: '1.16' } | |
# set up correct version of node | |
- id: nvmrc | |
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) | |
- uses: actions/setup-node@v2 | |
with: { node-version: '${{ steps.nvmrc.outputs.NODE_VERSION }}' } | |
- name: Install license_finder | |
run: gem install license_finder:6.9.0 # sync with licenses-update.yml | |
- name: Check dependencies | |
run: LICENSE_CHECK=true ./dev/licenses.sh |