Unverified Commit 358a7306 authored by Bassem Dghaidi's avatar Bassem Dghaidi Committed by GitHub
Browse files

Merge pull request #1634 from actions/Link-/optimise-deps

Upgrade `@actions/cache` to `4.0.4` and move `@protobuf-ts/plugin` to dev depdencies
parents 640a1c25 2ee706ef
Loading
Loading
Loading
Loading
+28 −3
Changes for .github/workflows/licensed.yml: 28 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -10,6 +10,31 @@ on:
  workflow_dispatch:

jobs:
  call-licensed:
    name: Licensed
    uses: actions/reusable-workflows/.github/workflows/licensed.yml@main
  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
 No newline at end of file
+8
Changes for .licensed.yml: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
sources:
  npm: true

# Force UTF-8 encoding
encoding: 'utf-8'

# Ignore problematic packages with encoding issues
ignored:
  npm:
    - form-data

allowed:
  - apache-2.0
  - bsd-2-clause

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

File deleted.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

Loading