forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
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
921 changed files
with
33,002 additions
and
19,412 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
publish: ${{ steps.version.outputs.publish }} | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -56,7 +56,7 @@ jobs: | |
if: github.repository_owner == 'home-assistant' && needs.init.outputs.publish == 'true' | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
|
||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
uses: actions/[email protected] | ||
|
@@ -98,7 +98,7 @@ jobs: | |
arch: ${{ fromJson(needs.init.outputs.architectures) }} | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
|
||
- name: Download nightly wheels of frontend | ||
if: needs.init.outputs.channel == 'dev' | ||
|
@@ -252,7 +252,7 @@ jobs: | |
- green | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
|
||
- name: Set build additional args | ||
run: | | ||
|
@@ -289,7 +289,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
|
||
- name: Initialize git | ||
uses: home-assistant/actions/helpers/git-init@master | ||
|
@@ -327,7 +327,7 @@ jobs: | |
id-token: write | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
|
||
- name: Install Cosign | ||
uses: sigstore/[email protected] | ||
|
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 |
---|---|---|
|
@@ -39,16 +39,18 @@ env: | |
BLACK_CACHE_VERSION: 1 | ||
HA_SHORT_VERSION: "2023.11" | ||
DEFAULT_PYTHON: "3.11" | ||
ALL_PYTHON_VERSIONS: "['3.11']" | ||
ALL_PYTHON_VERSIONS: "['3.11', '3.12']" | ||
# 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 | ||
# - 10.6.10 is the version currently shipped with the Add-on (as of 31 Jan 2023) | ||
# 10.10 is the latest short-term-support | ||
# - 10.10.3 is the latest (as of 6 Feb 2023) | ||
# 10.11 is the latest long-term-support | ||
# - 10.11.2 is the version currently shipped with Synology (as of 11 Oct 2023) | ||
# mysql 8.0.32 does not always behave the same as MariaDB | ||
# and some queries that work on MariaDB do not work on MySQL | ||
MARIADB_VERSIONS: "['mariadb:10.3.32','mariadb:10.6.10','mariadb:10.10.3','mysql:8.0.32']" | ||
MARIADB_VERSIONS: "['mariadb:10.3.32','mariadb:10.6.10','mariadb:10.10.3','mariadb:10.11.2','mysql:8.0.32']" | ||
# 12 is the oldest supported version | ||
# - 12.14 is the latest (as of 9 Feb 2023) | ||
# 15 is the latest version | ||
|
@@ -89,7 +91,7 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Generate partial Python venv restore key | ||
id: generate_python_cache_key | ||
run: >- | ||
|
@@ -222,7 +224,7 @@ jobs: | |
- info | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -267,7 +269,7 @@ jobs: | |
- pre-commit | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
uses: actions/[email protected] | ||
id: python | ||
|
@@ -335,7 +337,7 @@ jobs: | |
- pre-commit | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
uses: actions/[email protected] | ||
id: python | ||
|
@@ -384,7 +386,7 @@ jobs: | |
- pre-commit | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
uses: actions/[email protected] | ||
id: python | ||
|
@@ -478,7 +480,7 @@ jobs: | |
python-version: ${{ fromJSON(needs.info.outputs.python_versions) }} | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -546,7 +548,7 @@ jobs: | |
- base | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -578,7 +580,7 @@ jobs: | |
- base | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -611,7 +613,7 @@ jobs: | |
- base | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -655,7 +657,7 @@ jobs: | |
- base | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -737,7 +739,7 @@ jobs: | |
bluez \ | ||
ffmpeg | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -889,7 +891,7 @@ jobs: | |
ffmpeg \ | ||
libmariadb-dev-compat | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -1013,7 +1015,7 @@ jobs: | |
ffmpeg \ | ||
postgresql-server-dev-14 | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -1108,7 +1110,7 @@ jobs: | |
timeout-minutes: 10 | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Download all coverage artifacts | ||
uses: actions/download-artifact@v3 | ||
- name: Upload coverage to Codecov (full coverage) | ||
|
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: "CodeQL" | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
push: | ||
branches: | ||
- dev | ||
- rc | ||
- master | ||
schedule: | ||
- cron: "30 18 * * 4" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 360 | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected] | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/[email protected] | ||
with: | ||
languages: python | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/[email protected] | ||
with: | ||
category: "/language:python" |
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
|
||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
uses: actions/[email protected] | ||
|
Oops, something went wrong.