ci: Add yamllint pass

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2022-12-10 02:03:38 +01:00
parent d8d80330cd
commit 29e47cbe2c
Signed by: c8h4
GPG key ID: 6817E9C75C0785D7
4 changed files with 22 additions and 5 deletions

View file

@ -1,14 +1,24 @@
---
name: Lint and build
on:
push:
branches:
- main
- dev
on: push # yamllint disable-line rule:truthy
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: pip install yamllint
- run: yamllint --strict .
docker-image:
runs-on: ubuntu-latest
needs: lint
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2

5
.yamllint Normal file
View file

@ -0,0 +1,5 @@
---
extends: default
yaml-files:
- '**/*.yml'

View file

@ -1,3 +1,4 @@
---
baseURL: https://c8h4.io/
languageCode: en-us
title: Christoph Heiss

View file

@ -1,3 +1,4 @@
---
name: Hacker
homepage: https://github.com/christoph-heiss/christoph-heiss.at
min_version: 0.41.0