Skip to content

Commit

Permalink
ci: add CI for YAML files
Browse files Browse the repository at this point in the history
  • Loading branch information
kkebo committed Dec 17, 2024
1 parent a9fd5d0 commit 4eca628
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: swift format lint -rsp .
yamllint:
runs-on: ubuntu-latest
container: alpine:3.21
steps:
- uses: actions/checkout@v4
- run: apk update && apk add yamllint
- run: yamllint --version
- run: yamllint --strict --config-file .yamllint.yml .
8 changes: 8 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
extends: default

rules:
line-length: false
document-start: false
truthy:
check-keys: false

Check failure on line 8 in .yamllint.yml

View workflow job for this annotation

GitHub Actions / yamllint

8:2 [new-line-at-end-of-file] no new line character at the end of file

Check failure on line 8 in .yamllint.yml

View workflow job for this annotation

GitHub Actions / yamllint

8:1 [trailing-spaces] trailing spaces

0 comments on commit 4eca628

Please sign in to comment.