mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 05:19:10 +08:00 
			
		
		
		
	Update the licensed workflow to use the latest version
This commit is contained in:
		
							
								
								
									
										20
									
								
								.github/workflows/licensed.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/licensed.yml
									
									
									
									
										vendored
									
									
								
							@@ -10,6 +10,20 @@ 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: Install licensed tool
 | 
			
		||||
        run: |
 | 
			
		||||
          brew install licensed@5.0.4
 | 
			
		||||
 | 
			
		||||
      - name: Check cached dependency records
 | 
			
		||||
        run: licensed status
 | 
			
		||||
		Reference in New Issue
	
	Block a user