update github actions
This commit is contained in:
		
							parent
							
								
									0f43da8f1e
								
							
						
					
					
						commit
						c563a3efd7
					
				|  | @ -1,29 +1,16 @@ | ||||||
| name: Validate HACS | name: HACS Action | ||||||
|  | 
 | ||||||
| on: | on: | ||||||
|   push: |   push: | ||||||
|   pull_request: |   pull_request: | ||||||
|  |   schedule: | ||||||
|  |     - cron: "0 0 * * *" | ||||||
| jobs: | jobs: | ||||||
|   ci: |   hacs: | ||||||
|     runs-on: ubuntu-latest |     name: HACS Action | ||||||
|  |     runs-on: "ubuntu-latest" | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v2 |  | ||||||
|         name: Download repo |  | ||||||
|         with: |  | ||||||
|           fetch-depth: 0 |  | ||||||
| 
 |  | ||||||
|       - uses: actions/setup-python@v2 |  | ||||||
|         name: Setup Python |  | ||||||
|         with: |  | ||||||
|           python-version: '3.8.x' |  | ||||||
| 
 |  | ||||||
|       - uses: actions/cache@v2 |  | ||||||
|         name: Cache |  | ||||||
|         with: |  | ||||||
|           path: | |  | ||||||
|             ~/.cache/pip |  | ||||||
|           key: custom-component-ci |  | ||||||
| 
 |  | ||||||
|       - name: HACS Action |       - name: HACS Action | ||||||
|         uses: hacs/action@main |         uses: "hacs/action@main" | ||||||
|         with: |         with: | ||||||
|           CATEGORY: integration |           category: "integration" | ||||||
|  | @ -1,12 +1,11 @@ | ||||||
| name: Validate with hassfest | name: Validate with hassfest | ||||||
| 
 | 
 | ||||||
| on: | on: | ||||||
|   push: |  | ||||||
|   pull_request: |   pull_request: | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   validate: |   validate: | ||||||
|     runs-on: "ubuntu-latest" |     runs-on: "ubuntu-latest" | ||||||
|     steps: |     steps: | ||||||
|       - uses: "actions/checkout@v2" |       - uses: "actions/checkout@v3" | ||||||
|       - uses: home-assistant/actions/hassfest@master |       - uses: home-assistant/actions/hassfest@master | ||||||
|  | @ -10,7 +10,7 @@ jobs: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - name: Download repo |       - name: Download repo | ||||||
|         uses: actions/checkout@v1 |         uses: actions/checkout@v3 | ||||||
| 
 | 
 | ||||||
|       - name: Zip samsung_soundbar dir |       - name: Zip samsung_soundbar dir | ||||||
|         run: | |         run: | | ||||||
|  |  | ||||||
|  | @ -1,18 +0,0 @@ | ||||||
| name: Validate |  | ||||||
| 
 |  | ||||||
| on: |  | ||||||
|   push: |  | ||||||
|   pull_request: |  | ||||||
|   schedule: |  | ||||||
|     - cron: "0 0 * * *" |  | ||||||
|   workflow_dispatch: |  | ||||||
| 
 |  | ||||||
| jobs: |  | ||||||
|   validate-hacs: |  | ||||||
|     runs-on: "ubuntu-latest" |  | ||||||
|     steps: |  | ||||||
|       - uses: "actions/checkout@v3" |  | ||||||
|       - name: HACS validation |  | ||||||
|         uses: "hacs/action@main" |  | ||||||
|         with: |  | ||||||
|           category: "integration" |  | ||||||
		Loading…
	
		Reference in New Issue