mirror of
https://github.com/coredns/coredns.git
synced 2025-12-09 20:05:11 -05:00
* Update build * Update Go to 1.23.0 * Update minimum Go version to 1.22. * Update golangci-lint to v1.60.1. * Make GitHub action version hash/tag consistent. * Increase dependabot open PRs from 5 to 20. Signed-off-by: SuperQ <superq@gmail.com> * Fixup lint issue. Signed-off-by: SuperQ <superq@gmail.com> --------- Signed-off-by: SuperQ <superq@gmail.com>
20 lines
560 B
YAML
20 lines
560 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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
|
- name: 'Yamllint'
|
|
uses: karancode/yamllint-github-action@fdef6bc189425ecc84cc4543b2674566c0827053
|
|
with:
|
|
yamllint_file_or_dir: '.'
|
|
yamllint_strict: false
|
|
yamllint_comment: true
|
|
env:
|
|
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|