-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4,009 changed files
with
140,331 additions
and
45,929 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
fetch-depth: 0 | ||
|
||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
|
||
|
@@ -69,7 +69,7 @@ jobs: | |
run: find ./homeassistant/components/*/translations -name "*.json" | tar zcvf translations.tar.gz -T - | ||
|
||
- name: Upload translations | ||
uses: actions/upload-artifact@v4.5.0 | ||
uses: actions/upload-artifact@v4.6.0 | ||
with: | ||
name: translations | ||
path: translations.tar.gz | ||
|
@@ -94,7 +94,7 @@ jobs: | |
|
||
- name: Download nightly wheels of frontend | ||
if: needs.init.outputs.channel == 'dev' | ||
uses: dawidd6/action-download-artifact@v7 | ||
uses: dawidd6/action-download-artifact@v8 | ||
with: | ||
github_token: ${{secrets.GITHUB_TOKEN}} | ||
repo: home-assistant/frontend | ||
|
@@ -105,7 +105,7 @@ jobs: | |
|
||
- name: Download nightly wheels of intents | ||
if: needs.init.outputs.channel == 'dev' | ||
uses: dawidd6/action-download-artifact@v7 | ||
uses: dawidd6/action-download-artifact@v8 | ||
with: | ||
github_token: ${{secrets.GITHUB_TOKEN}} | ||
repo: home-assistant/intents-package | ||
|
@@ -116,7 +116,7 @@ jobs: | |
|
||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
if: needs.init.outputs.channel == 'dev' | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
|
||
|
@@ -454,7 +454,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
|
||
|
@@ -509,7 +509,7 @@ jobs: | |
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build Docker image | ||
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0 | ||
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0 | ||
with: | ||
context: . # So action will not pull the repository again | ||
file: ./script/hassfest/docker/Dockerfile | ||
|
@@ -522,7 +522,7 @@ jobs: | |
- name: Push Docker image | ||
if: needs.init.outputs.channel != 'dev' && needs.init.outputs.publish == 'true' | ||
id: push | ||
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0 | ||
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0 | ||
with: | ||
context: . # So action will not pull the repository again | ||
file: ./script/hassfest/docker/Dockerfile | ||
|
@@ -531,7 +531,7 @@ jobs: | |
|
||
- name: Generate artifact attestation | ||
if: needs.init.outputs.channel != 'dev' && needs.init.outputs.publish == 'true' | ||
uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0 | ||
uses: actions/attest-build-provenance@520d128f165991a6c774bcb264f323e3d70747f4 # v2.2.0 | ||
with: | ||
subject-name: ${{ env.HASSFEST_IMAGE_NAME }} | ||
subject-digest: ${{ steps.push.outputs.digest }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,9 +40,9 @@ env: | |
CACHE_VERSION: 11 | ||
UV_CACHE_VERSION: 1 | ||
MYPY_CACHE_VERSION: 9 | ||
HA_SHORT_VERSION: "2025.1" | ||
DEFAULT_PYTHON: "3.12" | ||
ALL_PYTHON_VERSIONS: "['3.12', '3.13']" | ||
HA_SHORT_VERSION: "2025.2" | ||
DEFAULT_PYTHON: "3.13" | ||
ALL_PYTHON_VERSIONS: "['3.13']" | ||
# 10.3 is the oldest supported version | ||
# - 10.3.32 is the version currently shipped with Synology (as of 17 Feb 2022) | ||
# 10.6 is the current long-term-support | ||
|
@@ -234,7 +234,7 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
check-latest: true | ||
|
@@ -279,7 +279,7 @@ jobs: | |
- name: Check out code from GitHub | ||
uses: actions/[email protected] | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
id: python | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
|
@@ -319,7 +319,7 @@ jobs: | |
- name: Check out code from GitHub | ||
uses: actions/[email protected] | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
id: python | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
|
@@ -359,7 +359,7 @@ jobs: | |
- name: Check out code from GitHub | ||
uses: actions/[email protected] | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
id: python | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
|
@@ -469,7 +469,7 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
check-latest: true | ||
|
@@ -537,7 +537,7 @@ jobs: | |
python --version | ||
uv pip freeze >> pip_freeze.txt | ||
- name: Upload pip_freeze artifact | ||
uses: actions/upload-artifact@v4.5.0 | ||
uses: actions/upload-artifact@v4.6.0 | ||
with: | ||
name: pip-freeze-${{ matrix.python-version }} | ||
path: pip_freeze.txt | ||
|
@@ -572,7 +572,7 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
check-latest: true | ||
|
@@ -605,7 +605,7 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
check-latest: true | ||
|
@@ -643,7 +643,7 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
check-latest: true | ||
|
@@ -661,7 +661,7 @@ jobs: | |
. venv/bin/activate | ||
python -m script.licenses extract --output-file=licenses-${{ matrix.python-version }}.json | ||
- name: Upload licenses | ||
uses: actions/upload-artifact@v4.5.0 | ||
uses: actions/upload-artifact@v4.6.0 | ||
with: | ||
name: licenses-${{ github.run_number }}-${{ matrix.python-version }} | ||
path: licenses-${{ matrix.python-version }}.json | ||
|
@@ -686,7 +686,7 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
check-latest: true | ||
|
@@ -733,7 +733,7 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
check-latest: true | ||
|
@@ -778,7 +778,7 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
check-latest: true | ||
|
@@ -859,7 +859,7 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
check-latest: true | ||
|
@@ -877,7 +877,7 @@ jobs: | |
. venv/bin/activate | ||
python -m script.split_tests ${{ needs.info.outputs.test_group_count }} tests | ||
- name: Upload pytest_buckets | ||
uses: actions/upload-artifact@v4.5.0 | ||
uses: actions/upload-artifact@v4.6.0 | ||
with: | ||
name: pytest_buckets | ||
path: pytest_buckets.txt | ||
|
@@ -923,7 +923,7 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
check-latest: true | ||
|
@@ -979,14 +979,14 @@ jobs: | |
2>&1 | tee pytest-${{ matrix.python-version }}-${{ matrix.group }}.txt | ||
- name: Upload pytest output | ||
if: success() || failure() && steps.pytest-full.conclusion == 'failure' | ||
uses: actions/upload-artifact@v4.5.0 | ||
uses: actions/upload-artifact@v4.6.0 | ||
with: | ||
name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{ matrix.group }} | ||
path: pytest-*.txt | ||
overwrite: true | ||
- name: Upload coverage artifact | ||
if: needs.info.outputs.skip_coverage != 'true' | ||
uses: actions/upload-artifact@v4.5.0 | ||
uses: actions/upload-artifact@v4.6.0 | ||
with: | ||
name: coverage-${{ matrix.python-version }}-${{ matrix.group }} | ||
path: coverage.xml | ||
|
@@ -1044,7 +1044,7 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
check-latest: true | ||
|
@@ -1106,15 +1106,15 @@ jobs: | |
2>&1 | tee pytest-${{ matrix.python-version }}-${mariadb}.txt | ||
- name: Upload pytest output | ||
if: success() || failure() && steps.pytest-partial.conclusion == 'failure' | ||
uses: actions/upload-artifact@v4.5.0 | ||
uses: actions/upload-artifact@v4.6.0 | ||
with: | ||
name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{ | ||
steps.pytest-partial.outputs.mariadb }} | ||
path: pytest-*.txt | ||
overwrite: true | ||
- name: Upload coverage artifact | ||
if: needs.info.outputs.skip_coverage != 'true' | ||
uses: actions/upload-artifact@v4.5.0 | ||
uses: actions/upload-artifact@v4.6.0 | ||
with: | ||
name: coverage-${{ matrix.python-version }}-${{ | ||
steps.pytest-partial.outputs.mariadb }} | ||
|
@@ -1173,7 +1173,7 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
check-latest: true | ||
|
@@ -1236,15 +1236,15 @@ jobs: | |
2>&1 | tee pytest-${{ matrix.python-version }}-${postgresql}.txt | ||
- name: Upload pytest output | ||
if: success() || failure() && steps.pytest-partial.conclusion == 'failure' | ||
uses: actions/upload-artifact@v4.5.0 | ||
uses: actions/upload-artifact@v4.6.0 | ||
with: | ||
name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{ | ||
steps.pytest-partial.outputs.postgresql }} | ||
path: pytest-*.txt | ||
overwrite: true | ||
- name: Upload coverage artifact | ||
if: needs.info.outputs.skip_coverage != 'true' | ||
uses: actions/upload-artifact@v4.5.0 | ||
uses: actions/upload-artifact@v4.6.0 | ||
with: | ||
name: coverage-${{ matrix.python-version }}-${{ | ||
steps.pytest-partial.outputs.postgresql }} | ||
|
@@ -1273,7 +1273,7 @@ jobs: | |
pattern: coverage-* | ||
- name: Upload coverage to Codecov | ||
if: needs.info.outputs.test_full_suite == 'true' | ||
uses: codecov/codecov-action@v5.1.2 | ||
uses: codecov/codecov-action@v5.3.1 | ||
with: | ||
fail_ci_if_error: true | ||
flags: full-suite | ||
|
@@ -1319,7 +1319,7 @@ jobs: | |
uses: actions/[email protected] | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/setup-python@v5.3.0 | ||
uses: actions/setup-python@v5.4.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
check-latest: true | ||
|
@@ -1378,14 +1378,14 @@ jobs: | |
2>&1 | tee pytest-${{ matrix.python-version }}-${{ matrix.group }}.txt | ||
- name: Upload pytest output | ||
if: success() || failure() && steps.pytest-partial.conclusion == 'failure' | ||
uses: actions/upload-artifact@v4.5.0 | ||
uses: actions/upload-artifact@v4.6.0 | ||
with: | ||
name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{ matrix.group }} | ||
path: pytest-*.txt | ||
overwrite: true | ||
- name: Upload coverage artifact | ||
if: needs.info.outputs.skip_coverage != 'true' | ||
uses: actions/upload-artifact@v4.5.0 | ||
uses: actions/upload-artifact@v4.6.0 | ||
with: | ||
name: coverage-${{ matrix.python-version }}-${{ matrix.group }} | ||
path: coverage.xml | ||
|
@@ -1411,7 +1411,7 @@ jobs: | |
pattern: coverage-* | ||
- name: Upload coverage to Codecov | ||
if: needs.info.outputs.test_full_suite == 'false' | ||
uses: codecov/codecov-action@v5.1.2 | ||
uses: codecov/codecov-action@v5.3.1 | ||
with: | ||
fail_ci_if_error: true | ||
token: ${{ secrets.CODECOV_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,11 +24,11 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/[email protected].0 | ||
uses: github/codeql-action/[email protected].6 | ||
with: | ||
languages: python | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/[email protected].0 | ||
uses: github/codeql-action/[email protected].6 | ||
with: | ||
category: "/language:python" |
Oops, something went wrong.