mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Bump actions/checkout from 4 to 5 (#10198)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/auto-label-pr.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/auto-label-pr.yml
									
									
									
									
										vendored
									
									
								
							| @@ -22,7 +22,7 @@ jobs: | |||||||
|     if: github.event.action != 'labeled' || github.event.sender.type != 'Bot' |     if: github.event.action != 'labeled' || github.event.sender.type != 'Bot' | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout |       - name: Checkout | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|  |  | ||||||
|       - name: Generate a token |       - name: Generate a token | ||||||
|         id: generate-token |         id: generate-token | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/ci-api-proto.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci-api-proto.yml
									
									
									
									
										vendored
									
									
								
							| @@ -21,7 +21,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout |       - name: Checkout | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|       - name: Set up Python |       - name: Set up Python | ||||||
|         uses: actions/setup-python@v5.6.0 |         uses: actions/setup-python@v5.6.0 | ||||||
|         with: |         with: | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/ci-clang-tidy-hash.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci-clang-tidy-hash.yml
									
									
									
									
										vendored
									
									
								
							| @@ -20,7 +20,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout |       - name: Checkout | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|  |  | ||||||
|       - name: Set up Python |       - name: Set up Python | ||||||
|         uses: actions/setup-python@v5.6.0 |         uses: actions/setup-python@v5.6.0 | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/ci-docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci-docker.yml
									
									
									
									
										vendored
									
									
								
							| @@ -43,7 +43,7 @@ jobs: | |||||||
|           - "docker" |           - "docker" | ||||||
|           # - "lint" |           # - "lint" | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v4.2.2 |       - uses: actions/checkout@v5.0.0 | ||||||
|       - name: Set up Python |       - name: Set up Python | ||||||
|         uses: actions/setup-python@v5.6.0 |         uses: actions/setup-python@v5.6.0 | ||||||
|         with: |         with: | ||||||
|   | |||||||
							
								
								
									
										22
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -36,7 +36,7 @@ jobs: | |||||||
|       cache-key: ${{ steps.cache-key.outputs.key }} |       cache-key: ${{ steps.cache-key.outputs.key }} | ||||||
|     steps: |     steps: | ||||||
|       - name: Check out code from GitHub |       - name: Check out code from GitHub | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|       - name: Generate cache-key |       - name: Generate cache-key | ||||||
|         id: cache-key |         id: cache-key | ||||||
|         run: echo key="${{ hashFiles('requirements.txt', 'requirements_test.txt', '.pre-commit-config.yaml') }}" >> $GITHUB_OUTPUT |         run: echo key="${{ hashFiles('requirements.txt', 'requirements_test.txt', '.pre-commit-config.yaml') }}" >> $GITHUB_OUTPUT | ||||||
| @@ -70,7 +70,7 @@ jobs: | |||||||
|     if: needs.determine-jobs.outputs.python-linters == 'true' |     if: needs.determine-jobs.outputs.python-linters == 'true' | ||||||
|     steps: |     steps: | ||||||
|       - name: Check out code from GitHub |       - name: Check out code from GitHub | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|       - name: Restore Python |       - name: Restore Python | ||||||
|         uses: ./.github/actions/restore-python |         uses: ./.github/actions/restore-python | ||||||
|         with: |         with: | ||||||
| @@ -91,7 +91,7 @@ jobs: | |||||||
|       - common |       - common | ||||||
|     steps: |     steps: | ||||||
|       - name: Check out code from GitHub |       - name: Check out code from GitHub | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|       - name: Restore Python |       - name: Restore Python | ||||||
|         uses: ./.github/actions/restore-python |         uses: ./.github/actions/restore-python | ||||||
|         with: |         with: | ||||||
| @@ -136,7 +136,7 @@ jobs: | |||||||
|       - common |       - common | ||||||
|     steps: |     steps: | ||||||
|       - name: Check out code from GitHub |       - name: Check out code from GitHub | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|       - name: Restore Python |       - name: Restore Python | ||||||
|         id: restore-python |         id: restore-python | ||||||
|         uses: ./.github/actions/restore-python |         uses: ./.github/actions/restore-python | ||||||
| @@ -179,7 +179,7 @@ jobs: | |||||||
|       component-test-count: ${{ steps.determine.outputs.component-test-count }} |       component-test-count: ${{ steps.determine.outputs.component-test-count }} | ||||||
|     steps: |     steps: | ||||||
|       - name: Check out code from GitHub |       - name: Check out code from GitHub | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|         with: |         with: | ||||||
|           # Fetch enough history to find the merge base |           # Fetch enough history to find the merge base | ||||||
|           fetch-depth: 2 |           fetch-depth: 2 | ||||||
| @@ -214,7 +214,7 @@ jobs: | |||||||
|     if: needs.determine-jobs.outputs.integration-tests == 'true' |     if: needs.determine-jobs.outputs.integration-tests == 'true' | ||||||
|     steps: |     steps: | ||||||
|       - name: Check out code from GitHub |       - name: Check out code from GitHub | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|       - name: Set up Python 3.13 |       - name: Set up Python 3.13 | ||||||
|         id: python |         id: python | ||||||
|         uses: actions/setup-python@v5.6.0 |         uses: actions/setup-python@v5.6.0 | ||||||
| @@ -287,7 +287,7 @@ jobs: | |||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - name: Check out code from GitHub |       - name: Check out code from GitHub | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|         with: |         with: | ||||||
|           # Need history for HEAD~1 to work for checking changed files |           # Need history for HEAD~1 to work for checking changed files | ||||||
|           fetch-depth: 2 |           fetch-depth: 2 | ||||||
| @@ -374,7 +374,7 @@ jobs: | |||||||
|           sudo apt-get install libsdl2-dev |           sudo apt-get install libsdl2-dev | ||||||
|  |  | ||||||
|       - name: Check out code from GitHub |       - name: Check out code from GitHub | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|       - name: Restore Python |       - name: Restore Python | ||||||
|         uses: ./.github/actions/restore-python |         uses: ./.github/actions/restore-python | ||||||
|         with: |         with: | ||||||
| @@ -400,7 +400,7 @@ jobs: | |||||||
|       matrix: ${{ steps.split.outputs.components }} |       matrix: ${{ steps.split.outputs.components }} | ||||||
|     steps: |     steps: | ||||||
|       - name: Check out code from GitHub |       - name: Check out code from GitHub | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|       - name: Split components into 20 groups |       - name: Split components into 20 groups | ||||||
|         id: split |         id: split | ||||||
|         run: | |         run: | | ||||||
| @@ -430,7 +430,7 @@ jobs: | |||||||
|           sudo apt-get install libsdl2-dev |           sudo apt-get install libsdl2-dev | ||||||
|  |  | ||||||
|       - name: Check out code from GitHub |       - name: Check out code from GitHub | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|       - name: Restore Python |       - name: Restore Python | ||||||
|         uses: ./.github/actions/restore-python |         uses: ./.github/actions/restore-python | ||||||
|         with: |         with: | ||||||
| @@ -459,7 +459,7 @@ jobs: | |||||||
|     if: github.event_name == 'pull_request' && github.base_ref != 'beta' && github.base_ref != 'release' |     if: github.event_name == 'pull_request' && github.base_ref != 'beta' && github.base_ref != 'release' | ||||||
|     steps: |     steps: | ||||||
|       - name: Check out code from GitHub |       - name: Check out code from GitHub | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|       - name: Restore Python |       - name: Restore Python | ||||||
|         uses: ./.github/actions/restore-python |         uses: ./.github/actions/restore-python | ||||||
|         with: |         with: | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/codeql.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/codeql.yml
									
									
									
									
										vendored
									
									
								
							| @@ -54,7 +54,7 @@ jobs: | |||||||
|             # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages |             # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout repository |       - name: Checkout repository | ||||||
|         uses: actions/checkout@v4 |         uses: actions/checkout@v5.0.0 | ||||||
|  |  | ||||||
|       # Initializes the CodeQL tools for scanning. |       # Initializes the CodeQL tools for scanning. | ||||||
|       - name: Initialize CodeQL |       - name: Initialize CodeQL | ||||||
|   | |||||||
							
								
								
									
										8
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -20,7 +20,7 @@ jobs: | |||||||
|       branch_build: ${{ steps.tag.outputs.branch_build }} |       branch_build: ${{ steps.tag.outputs.branch_build }} | ||||||
|       deploy_env: ${{ steps.tag.outputs.deploy_env }} |       deploy_env: ${{ steps.tag.outputs.deploy_env }} | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v4.2.2 |       - uses: actions/checkout@v5.0.0 | ||||||
|       - name: Get tag |       - name: Get tag | ||||||
|         id: tag |         id: tag | ||||||
|         # yamllint disable rule:line-length |         # yamllint disable rule:line-length | ||||||
| @@ -60,7 +60,7 @@ jobs: | |||||||
|       contents: read |       contents: read | ||||||
|       id-token: write |       id-token: write | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v4.2.2 |       - uses: actions/checkout@v5.0.0 | ||||||
|       - name: Set up Python |       - name: Set up Python | ||||||
|         uses: actions/setup-python@v5.6.0 |         uses: actions/setup-python@v5.6.0 | ||||||
|         with: |         with: | ||||||
| @@ -92,7 +92,7 @@ jobs: | |||||||
|             os: "ubuntu-24.04-arm" |             os: "ubuntu-24.04-arm" | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v4.2.2 |       - uses: actions/checkout@v5.0.0 | ||||||
|       - name: Set up Python |       - name: Set up Python | ||||||
|         uses: actions/setup-python@v5.6.0 |         uses: actions/setup-python@v5.6.0 | ||||||
|         with: |         with: | ||||||
| @@ -168,7 +168,7 @@ jobs: | |||||||
|           - ghcr |           - ghcr | ||||||
|           - dockerhub |           - dockerhub | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v4.2.2 |       - uses: actions/checkout@v5.0.0 | ||||||
|  |  | ||||||
|       - name: Download digests |       - name: Download digests | ||||||
|         uses: actions/download-artifact@v5.0.0 |         uses: actions/download-artifact@v5.0.0 | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								.github/workflows/sync-device-classes.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/sync-device-classes.yml
									
									
									
									
										vendored
									
									
								
							| @@ -13,10 +13,10 @@ jobs: | |||||||
|     if: github.repository == 'esphome/esphome' |     if: github.repository == 'esphome/esphome' | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout |       - name: Checkout | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|  |  | ||||||
|       - name: Checkout Home Assistant |       - name: Checkout Home Assistant | ||||||
|         uses: actions/checkout@v4.2.2 |         uses: actions/checkout@v5.0.0 | ||||||
|         with: |         with: | ||||||
|           repository: home-assistant/core |           repository: home-assistant/core | ||||||
|           path: lib/home-assistant |           path: lib/home-assistant | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user