K.B.Dharun Krishna 5e63e7aef0
CI: bump actions/checkout to v4, node to 20.x (#7)
* CI: bump actions/checkout to v4, node to 20.x

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* chore(ci): update workflows

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup: fix eol in check-dist.yml

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-01 11:44:01 +01:00

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@v4
- 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