From e2964385b13e8faa2256d06a2c254e1a9f2393ef Mon Sep 17 00:00:00 2001 From: Yuri Volkov <0@mcornholio.ru> Date: Fri, 7 Jul 2023 15:29:48 +0200 Subject: [PATCH] license-scanner update (#7473) As Node@^16 reaches its end-of-life this October, we're upgrading to Node@^18 everywhere --- polkadot/.github/workflows/check-licenses.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/polkadot/.github/workflows/check-licenses.yml b/polkadot/.github/workflows/check-licenses.yml index 92135f74af..a4c8d5d974 100644 --- a/polkadot/.github/workflows/check-licenses.yml +++ b/polkadot/.github/workflows/check-licenses.yml @@ -11,16 +11,16 @@ jobs: uses: actions/checkout@v3.3.0 - uses: actions/setup-node@v3.7.0 with: - node-version: '16.19.0' + node-version: '18.x' registry-url: 'https://npm.pkg.github.com' scope: '@paritytech' - name: Check the licenses run: | shopt -s globstar - npx @paritytech/license-scanner@0.0.3 scan \ - --ensure-licenses Apache-2.0 \ - --ensure-licenses GPL-3.0-only \ + npx @paritytech/license-scanner@0.0.5 scan \ + --ensure-licenses=Apache-2.0 \ + --ensure-licenses=GPL-3.0-only \ ./**/*.rs env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}