-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump min HA version to 2023.6.0 and python to 3.11 (#3267)
* Bump min HA version to 2023.6.0 and python to 3.11 * Use proper version in actions * Build action container in PRs * USe official image * add git * add bash
- Loading branch information
Showing
6 changed files
with
19 additions
and
9 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 |
---|---|---|
|
@@ -11,6 +11,13 @@ on: | |
- '.github/workflows/action-container.yml' | ||
- 'custom_components/**' | ||
- 'action/**' | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- '.github/workflows/action-container.yml' | ||
- 'custom_components/**' | ||
- 'action/**' | ||
|
||
concurrency: | ||
group: container-build-${{ github.ref }} | ||
|
@@ -27,6 +34,7 @@ jobs: | |
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/[email protected] | ||
if: ${{ github.event_name != 'pull_request' }} | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
|
@@ -47,6 +55,6 @@ jobs: | |
uses: docker/[email protected] | ||
with: | ||
context: ./action | ||
push: true | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.9, "3.10", "3.11"] | ||
python-version: ["3.11"] | ||
steps: | ||
- name: 📥 Checkout the repository | ||
uses: actions/[email protected] | ||
|
@@ -27,7 +27,7 @@ jobs: | |
uses: actions/[email protected] | ||
id: python | ||
with: | ||
python-version: "3.x" | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
cache-dependency-path: | | ||
requirements_base.txt | ||
|
@@ -51,7 +51,7 @@ jobs: | |
curl -sfSL https://codecov.io/bash | bash - | ||
legacy: | ||
name: With pytest with Home Assistant 2022.11.0 | ||
name: With pytest with Home Assistant 2023.6.0 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 📥 Checkout the repository | ||
|
@@ -60,7 +60,7 @@ jobs: | |
- name: 🛠️ Set up Python 3.9 | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.9" | ||
python-version: "3.11" | ||
cache: 'pip' | ||
cache-dependency-path: | | ||
requirements_base.txt | ||
|
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