Merge pull request #18 from cure/add-actions

Add a basic CI workflow with github actions
This commit is contained in:
Juan Font
2021-04-30 10:45:11 +02:00
committed by GitHub
3 changed files with 45 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ func loadConfig(path string) error {
err := viper.ReadInConfig()
if err != nil {
return errors.New(fmt.Sprintf("Fatal error reading config file: %s \n", err))
return fmt.Errorf("Fatal error reading config file: %s \n", err)
}
// Collect any validation errors and return them all at once