mirror of
https://github.com/coredns/coredns.git
synced 2026-04-04 19:25:40 -04:00
ci(yamllint): replace third-party action with uvx (#7957)
This commit is contained in:
14
.github/workflows/yamllint.yml
vendored
14
.github/workflows/yamllint.yml
vendored
@@ -9,11 +9,11 @@ jobs:
|
||||
steps:
|
||||
- name: 'Checkout'
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: 'Yamllint'
|
||||
uses: karancode/yamllint-github-action@4052d365f09b8d34eb552c363d1141fd60e2aeb2
|
||||
with:
|
||||
yamllint_file_or_dir: '.'
|
||||
yamllint_strict: false
|
||||
yamllint_comment: true
|
||||
env:
|
||||
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
persist-credentials: false
|
||||
- name: 'Setup uv'
|
||||
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
|
||||
- name: 'Yamllint'
|
||||
run: |
|
||||
uvx --from 'yamllint==1.38.0' yamllint .
|
||||
echo "yamllint passed"
|
||||
|
||||
Reference in New Issue
Block a user