atc0005 / shared-project-resources

Shared workflows and tooling for projects that I maintain
MIT License
1 stars 0 forks source link

Add config file validation step to CI tasks list #94

Open atc0005 opened 4 years ago

atc0005 commented 4 years ago

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:

atc0005 commented 4 years ago

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