mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Update actions (#3592)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/workflows/ci-docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/ci-docker.yml
									
									
									
									
										vendored
									
									
								
							| @@ -30,15 +30,15 @@ jobs: | |||||||
|         arch: [amd64, armv7, aarch64] |         arch: [amd64, armv7, aarch64] | ||||||
|         build_type: ["ha-addon", "docker", "lint"] |         build_type: ["ha-addon", "docker", "lint"] | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@v2 |     - uses: actions/checkout@v3 | ||||||
|     - name: Set up Python |     - name: Set up Python | ||||||
|       uses: actions/setup-python@v2 |       uses: actions/setup-python@v4 | ||||||
|       with: |       with: | ||||||
|         python-version: '3.9' |         python-version: '3.9' | ||||||
|     - name: Set up Docker Buildx |     - name: Set up Docker Buildx | ||||||
|       uses: docker/setup-buildx-action@v1 |       uses: docker/setup-buildx-action@v2 | ||||||
|     - name: Set up QEMU |     - name: Set up QEMU | ||||||
|       uses: docker/setup-qemu-action@v1 |       uses: docker/setup-qemu-action@v2 | ||||||
|  |  | ||||||
|     - name: Set TAG |     - name: Set TAG | ||||||
|       run: | |       run: | | ||||||
|   | |||||||
							
								
								
									
										8
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -75,15 +75,15 @@ jobs: | |||||||
|             pio_cache_key: tidyesp32-idf |             pio_cache_key: tidyesp32-idf | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v2 |       - uses: actions/checkout@v3 | ||||||
|       - name: Set up Python |       - name: Set up Python | ||||||
|         uses: actions/setup-python@v2 |         uses: actions/setup-python@v4 | ||||||
|         id: python |         id: python | ||||||
|         with: |         with: | ||||||
|           python-version: '3.8' |           python-version: '3.8' | ||||||
|  |  | ||||||
|       - name: Cache virtualenv |       - name: Cache virtualenv | ||||||
|         uses: actions/cache@v2 |         uses: actions/cache@v3 | ||||||
|         with: |         with: | ||||||
|           path: .venv |           path: .venv | ||||||
|           key: venv-${{ steps.python.outputs.python-version }}-${{ hashFiles('requirements*.txt') }} |           key: venv-${{ steps.python.outputs.python-version }}-${{ hashFiles('requirements*.txt') }} | ||||||
| @@ -102,7 +102,7 @@ jobs: | |||||||
|  |  | ||||||
|       # Use per check platformio cache because checks use different parts |       # Use per check platformio cache because checks use different parts | ||||||
|       - name: Cache platformio |       - name: Cache platformio | ||||||
|         uses: actions/cache@v2 |         uses: actions/cache@v3 | ||||||
|         with: |         with: | ||||||
|           path: ~/.platformio |           path: ~/.platformio | ||||||
|           key: platformio-${{ matrix.pio_cache_key }}-${{ hashFiles('platformio.ini') }} |           key: platformio-${{ matrix.pio_cache_key }}-${{ hashFiles('platformio.ini') }} | ||||||
|   | |||||||
							
								
								
									
										26
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										26
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -17,7 +17,7 @@ jobs: | |||||||
|     outputs: |     outputs: | ||||||
|       tag: ${{ steps.tag.outputs.tag }} |       tag: ${{ steps.tag.outputs.tag }} | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v2 |       - uses: actions/checkout@v3 | ||||||
|       - name: Get tag |       - name: Get tag | ||||||
|         id: tag |         id: tag | ||||||
|         run: | |         run: | | ||||||
| @@ -35,9 +35,9 @@ jobs: | |||||||
|     if: github.repository == 'esphome/esphome' && github.event_name == 'release' |     if: github.repository == 'esphome/esphome' && github.event_name == 'release' | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v2 |       - uses: actions/checkout@v3 | ||||||
|       - name: Set up Python |       - name: Set up Python | ||||||
|         uses: actions/setup-python@v1 |         uses: actions/setup-python@v4 | ||||||
|         with: |         with: | ||||||
|           python-version: '3.x' |           python-version: '3.x' | ||||||
|       - name: Set up python environment |       - name: Set up python environment | ||||||
| @@ -65,24 +65,24 @@ jobs: | |||||||
|         arch: [amd64, armv7, aarch64] |         arch: [amd64, armv7, aarch64] | ||||||
|         build_type: ["ha-addon", "docker", "lint"] |         build_type: ["ha-addon", "docker", "lint"] | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@v2 |     - uses: actions/checkout@v3 | ||||||
|     - name: Set up Python |     - name: Set up Python | ||||||
|       uses: actions/setup-python@v2 |       uses: actions/setup-python@v4 | ||||||
|       with: |       with: | ||||||
|         python-version: '3.9' |         python-version: '3.9' | ||||||
|  |  | ||||||
|     - name: Set up Docker Buildx |     - name: Set up Docker Buildx | ||||||
|       uses: docker/setup-buildx-action@v1 |       uses: docker/setup-buildx-action@v2 | ||||||
|     - name: Set up QEMU |     - name: Set up QEMU | ||||||
|       uses: docker/setup-qemu-action@v1 |       uses: docker/setup-qemu-action@v2 | ||||||
|  |  | ||||||
|     - name: Log in to docker hub |     - name: Log in to docker hub | ||||||
|       uses: docker/login-action@v1 |       uses: docker/login-action@v2 | ||||||
|       with: |       with: | ||||||
|         username: ${{ secrets.DOCKER_USER }} |         username: ${{ secrets.DOCKER_USER }} | ||||||
|         password: ${{ secrets.DOCKER_PASSWORD }} |         password: ${{ secrets.DOCKER_PASSWORD }} | ||||||
|     - name: Log in to the GitHub container registry |     - name: Log in to the GitHub container registry | ||||||
|       uses: docker/login-action@v1 |       uses: docker/login-action@v2 | ||||||
|       with: |       with: | ||||||
|           registry: ghcr.io |           registry: ghcr.io | ||||||
|           username: ${{ github.actor }} |           username: ${{ github.actor }} | ||||||
| @@ -108,9 +108,9 @@ jobs: | |||||||
|       matrix: |       matrix: | ||||||
|         build_type: ["ha-addon", "docker", "lint"] |         build_type: ["ha-addon", "docker", "lint"] | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@v2 |     - uses: actions/checkout@v3 | ||||||
|     - name: Set up Python |     - name: Set up Python | ||||||
|       uses: actions/setup-python@v2 |       uses: actions/setup-python@v4 | ||||||
|       with: |       with: | ||||||
|         python-version: '3.9' |         python-version: '3.9' | ||||||
|     - name: Enable experimental manifest support |     - name: Enable experimental manifest support | ||||||
| @@ -119,12 +119,12 @@ jobs: | |||||||
|         echo "{\"experimental\": \"enabled\"}" > ~/.docker/config.json |         echo "{\"experimental\": \"enabled\"}" > ~/.docker/config.json | ||||||
|  |  | ||||||
|     - name: Log in to docker hub |     - name: Log in to docker hub | ||||||
|       uses: docker/login-action@v1 |       uses: docker/login-action@v2 | ||||||
|       with: |       with: | ||||||
|         username: ${{ secrets.DOCKER_USER }} |         username: ${{ secrets.DOCKER_USER }} | ||||||
|         password: ${{ secrets.DOCKER_PASSWORD }} |         password: ${{ secrets.DOCKER_PASSWORD }} | ||||||
|     - name: Log in to the GitHub container registry |     - name: Log in to the GitHub container registry | ||||||
|       uses: docker/login-action@v1 |       uses: docker/login-action@v2 | ||||||
|       with: |       with: | ||||||
|           registry: ghcr.io |           registry: ghcr.io | ||||||
|           username: ${{ github.actor }} |           username: ${{ github.actor }} | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								.github/workflows/stale.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/stale.yml
									
									
									
									
										vendored
									
									
								
							| @@ -16,7 +16,7 @@ jobs: | |||||||
|   stale: |   stale: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/stale@v4 |       - uses: actions/stale@v5 | ||||||
|         with: |         with: | ||||||
|           days-before-pr-stale: 90 |           days-before-pr-stale: 90 | ||||||
|           days-before-pr-close: 7 |           days-before-pr-close: 7 | ||||||
| @@ -35,7 +35,7 @@ jobs: | |||||||
|   close-issues: |   close-issues: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/stale@v4 |       - uses: actions/stale@v5 | ||||||
|         with: |         with: | ||||||
|           days-before-pr-stale: -1 |           days-before-pr-stale: -1 | ||||||
|           days-before-pr-close: -1 |           days-before-pr-close: -1 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user