Files
actions-cache/.github/workflows/licensed.yml
ci f7bb173af3
Some checks failed
Tests / build (windows-latest) (push) Has been cancelled
Tests / test-save (macOS-latest) (push) Has been cancelled
Tests / test-save (windows-latest) (push) Has been cancelled
Tests / test-restore (macOS-latest) (push) Has been cancelled
Tests / test-restore (ubuntu-latest) (push) Has been cancelled
Tests / test-restore (windows-latest) (push) Has been cancelled
Tests / build (macOS-latest) (push) Has been cancelled
Check dist/ / Check dist/ (push) Failing after 1s
Licensed / Check licenses (push) Failing after 6m37s
Tests / build (ubuntu-latest) (push) Failing after 5m52s
Tests / test-save (ubuntu-latest) (push) Failing after 6m36s
Tests / test-proxy-save (push) Failing after 24s
Tests / test-proxy-restore (push) Has been skipped
Code scanning - action / CodeQL-Build (push) Failing after 1m31s
Close inactive issues / close-issues (push) Failing after 12s
vendor actions/cache @ v4 (tree snapshot, no history)
2026-08-18 06:19:29 -07:00

40 lines
959 B
YAML

name: Licensed
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
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: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1.7'
- name: Install licensed tool
run: |
cd "$RUNNER_TEMP"
curl -Lfs -o licensed.tar.gz https://github.com/licensee/licensed/archive/refs/tags/v5.0.4.tar.gz
tar -xzf licensed.tar.gz
cd licensed-5.0.4
bundle install
- name: Check cached dependency records
run: |
cd ${{ github.workspace }}
BUNDLE_GEMFILE=$RUNNER_TEMP/licensed-5.0.4/Gemfile bundle exec $RUNNER_TEMP/licensed-5.0.4/exe/licensed status