Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linters+testdata: Reformat all yaml testcases for linting. #6511

Merged

Commits on Jan 10, 2024

  1. linters+testdata: Reformat all yaml testcases for linting.

    This commit adds a config for yamllint, as well as mass-reformats all of
    the existing Yaml testcases to pass linting. A few careful exceptions
    and ignores were added to the config to allow keeping existing Yaml
    files with minimal reformatting.
    
    Signed-off-by: Philip Conrad <philipaconrad@gmail.com>
    philipaconrad committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    c8f590e View commit details
    Browse the repository at this point in the history
  2. GHA: Update pull-request GH Action.

    Signed-off-by: Philip Conrad <philipaconrad@gmail.com>
    philipaconrad committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    a63b1fe View commit details
    Browse the repository at this point in the history
  3. Makefile: Add YAML linting to check target.

    Signed-off-by: Philip Conrad <philipaconrad@gmail.com>
    philipaconrad committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    27ed6ea View commit details
    Browse the repository at this point in the history
  4. docs/contrib-development: Update docs with YAML linting hints.

    Signed-off-by: Philip Conrad <philipaconrad@gmail.com>
    philipaconrad committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    6508639 View commit details
    Browse the repository at this point in the history
  5. Makefile+docs: Migrate YAML linting to own makefile target.

    This commit moves the YAML linting logic in the Makefile to be under the
    new `check-yaml-tests` target, so that the `make check` target does not
    mix Go and YAML errors together.
    
    Signed-off-by: Philip Conrad <philipaconrad@gmail.com>
    philipaconrad committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    9125429 View commit details
    Browse the repository at this point in the history
  6. gh-actions: Update workflow to use Makefile target.

    Signed-off-by: Philip Conrad <philipaconrad@gmail.com>
    philipaconrad committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    e7f87ac View commit details
    Browse the repository at this point in the history
  7. gh-actions: Allow customizing the yamllint results format.

    Signed-off-by: Philip Conrad <philipaconrad@gmail.com>
    philipaconrad committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    bcf707b View commit details
    Browse the repository at this point in the history