mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Delete lint-checks.yaml
This commit is contained in:
58
.github/workflows/lint-checks.yaml
vendored
58
.github/workflows/lint-checks.yaml
vendored
@@ -1,58 +0,0 @@
|
|||||||
name: Lint / Syntax checks
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
hadolint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: ghcr.io/hadolint/hadolint:latest-alpine
|
|
||||||
steps:
|
|
||||||
- name: ↩️ Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: 📂 Detect chanced files
|
|
||||||
id: filter
|
|
||||||
uses: dorny/paths-filter@v2.9.0
|
|
||||||
with:
|
|
||||||
list-files: 'shell'
|
|
||||||
filters: |
|
|
||||||
dockerfile:
|
|
||||||
- '**/Dockerfile'
|
|
||||||
- name: 🔎 Run hadolint
|
|
||||||
if: steps.filter.outputs.dockerfile == 'true'
|
|
||||||
run: hadolint ${{ steps.filter.outputs.dockerfile_files }}
|
|
||||||
|
|
||||||
shellcheck:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: ↩️ Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: 📂 Detect chanced files
|
|
||||||
id: filter
|
|
||||||
uses: dorny/paths-filter@v2.9.0
|
|
||||||
with:
|
|
||||||
list-files: 'shell'
|
|
||||||
filters: |
|
|
||||||
shell:
|
|
||||||
- '**/*.sh'
|
|
||||||
- '**/cont-init.d/*'
|
|
||||||
- '**/services.d/*'
|
|
||||||
- name: 🔎 Run ShellCheck
|
|
||||||
if: steps.filter.outputs.shell == 'true'
|
|
||||||
uses: ludeeus/action-shellcheck@1.1.0
|
|
||||||
with:
|
|
||||||
additional_files: ${{ steps.filter.outputs.shell_files }}
|
|
||||||
|
|
||||||
markdownlint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: ↩️ Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: 🔎 Run markdownlint
|
|
||||||
uses: nosborn/github-action-markdown-cli@v1.1.1
|
|
||||||
with:
|
|
||||||
files: .
|
|
||||||
Reference in New Issue
Block a user