Skip to content

[Snyk] Fix for 1 vulnerabilities #6

[Snyk] Fix for 1 vulnerabilities

[Snyk] Fix for 1 vulnerabilities #6

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