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

Add config file validation step to CI tasks list #94

Open
atc0005 opened this issue May 1, 2020 · 1 comment
Open

Add config file validation step to CI tasks list #94

atc0005 opened this issue May 1, 2020 · 1 comment
Assignees
Labels
CI enhancement New feature or request linting

Comments

@atc0005
Copy link
Owner

atc0005 commented May 1, 2020

Example:

config.example.toml file for atc0005/dnsc project was modified in atc0005/dnsc#40 and the CI run declared "no conflicts". If I had introduced a typo, I'd like for that to fail the build.

Goals:

  • validation for TOML files
  • validation for YAML files (likely to start using this soon)
  • validation for JSON files
@atc0005 atc0005 added enhancement New feature or request linting CI labels May 1, 2020
@atc0005 atc0005 self-assigned this May 1, 2020
@atc0005
Copy link
Owner Author

atc0005 commented May 7, 2020

Goals:

  • validation for TOML files

https://github.com/pelletier/go-toml#tools

Go-toml provides two handy command line tools:

tomll: Reads TOML files and lint them.

go install github.com/pelletier/go-toml/cmd/tomll
tomll --help

@atc0005 atc0005 transferred this issue from atc0005/todo Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI enhancement New feature or request linting
Projects
None yet
Development

No branches or pull requests

1 participant