mirror of
https://github.com/adrianjagielak/home-assistant-futurehome.git
synced 2025-09-13 07:37:09 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.2.2...v5.0.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
41 lines
915 B
YAML
41 lines
915 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
jobs:
|
|
find:
|
|
name: Find add-ons
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
addons: ${{ steps.addons.outputs.addons_list }}
|
|
steps:
|
|
- name: ⤵️ Check out code from GitHub
|
|
uses: actions/checkout@v5.0.0
|
|
|
|
- name: 🔍 Find add-on directories
|
|
id: addons
|
|
uses: home-assistant/actions/helpers/find-addons@master
|
|
|
|
lint:
|
|
name: Lint add-on ${{ matrix.path }}
|
|
runs-on: ubuntu-latest
|
|
needs: find
|
|
strategy:
|
|
matrix:
|
|
path: ${{ fromJson(needs.find.outputs.addons) }}
|
|
steps:
|
|
- name: ⤵️ Check out code from GitHub
|
|
uses: actions/checkout@v5.0.0
|
|
|
|
- name: 🚀 Run Home Assistant Add-on Lint
|
|
uses: frenck/action-addon-linter@v2.18
|
|
with:
|
|
path: "./${{ matrix.path }}" |