3114dc8cb4
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
29 lines
838 B
YAML
29 lines
838 B
YAML
# This workflow helps to check the statuses of cached dependencies used in action with the 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@v5
|
|
|
|
- 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 |