mirror of
https://github.com/esphome/esphome.git
synced 2025-08-03 00:47:47 +00:00
Merge branch 'pre-commit-lite' into pre-commit-lite_test
This commit is contained in:
commit
7b45591b12
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -499,15 +499,21 @@ jobs:
|
|||||||
pre-commit-ci-lite:
|
pre-commit-ci-lite:
|
||||||
name: pre-commit.ci lite
|
name: pre-commit.ci lite
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs:
|
||||||
|
- common
|
||||||
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@v4.2.2
|
||||||
|
- name: Restore Python
|
||||||
|
uses: ./.github/actions/restore-python
|
||||||
|
with:
|
||||||
|
python-version: ${{ env.DEFAULT_PYTHON }}
|
||||||
|
cache-key: ${{ needs.common.outputs.cache-key }}
|
||||||
- uses: pre-commit/action@v3.0.1
|
- uses: pre-commit/action@v3.0.1
|
||||||
env:
|
env:
|
||||||
SKIP: pylint,clang-tidy-hash,yamllint
|
SKIP: pylint,clang-tidy-hash,yamllint
|
||||||
- name: Run pre-commit.ci lite
|
- uses: pre-commit-ci/lite-action@v1.1.0
|
||||||
uses: pre-commit-ci/lite-action@v1.1.0
|
|
||||||
if: always()
|
if: always()
|
||||||
|
|
||||||
ci-status:
|
ci-status:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user