diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 79d7f5f..243ba4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,3 +18,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 . diff --git a/.yamllint.yml b/.yamllint.yml new file mode 100644 index 0000000..74e1046 --- /dev/null +++ b/.yamllint.yml @@ -0,0 +1,7 @@ +extends: default + +rules: + line-length: false + document-start: false + truthy: + check-keys: false