# This workflow helps to check statuses of cached dependencies used in the action with help of the Licensed tool. # Learn more about Licensed at https://github.com/github/licensed name: Licensed on: workflow_call: jobs: validate-cached-dependency-records: runs-on: ubuntu-latest name: Check licenses steps: - name: Checkout uses: actions/checkout@v3 - name: Install dependencies run: npm ci --ignore-scripts - name: Install licensed tool run: | cd $RUNNER_TEMP curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.9.0/licensed-3.9.0-linux-x64.tar.gz sudo tar -xzf licensed.tar.gz sudo mv licensed /usr/local/bin/licensed - name: Check cached dependency records run: licensed status