mirror of
https://github.com/coredns/coredns.git
synced 2026-08-20 23:08:28 -04:00
20 lines
543 B
YAML
20 lines
543 B
YAML
name: 'Yamllint GitHub Actions'
|
|
on:
|
|
- pull_request
|
|
permissions: read-all
|
|
jobs:
|
|
yamllint:
|
|
name: 'Yamllint'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
with:
|
|
persist-credentials: false
|
|
- name: 'Setup uv'
|
|
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
|
|
- name: 'Yamllint'
|
|
run: |
|
|
uvx --from 'yamllint==1.38.0' yamllint .
|
|
echo "yamllint passed"
|