1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00

replace parser with actions/workflow-parser

This commit is contained in:
Casey Lee 2019-01-30 23:14:18 -08:00
parent f6be37b2a2
commit d956aff028
41 changed files with 12740 additions and 633 deletions

View file

@ -0,0 +1,15 @@
package parser
type OptionFunc func(*parseState)
func WithSuppressWarnings() OptionFunc {
return func(ps *parseState) {
ps.suppressSeverity = WARNING
}
}
func WithSuppressErrors() OptionFunc {
return func(ps *parseState) {
ps.suppressSeverity = ERROR
}
}