Skip to content

Commit

Permalink
⚙️ config(ci): Add workflow to run yamllint.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed May 20, 2024
1 parent 1b3513a commit 8a72985
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci:lint-yaml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: ci:lint-yaml

on:
push:
branches:
- main
pull_request:
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:

lint:
name: Continuous integration (lint yaml)
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Install 💾
id: install
run: |
sudo pip install yamllint==1.35.1
- name: Lint YAML files 👕
run: |
yamllint . --strict --format github

0 comments on commit 8a72985

Please sign in to comment.