Skip to content

Port expiration compiler changes into composableschemadsl #8235

Port expiration compiler changes into composableschemadsl

Port expiration compiler changes into composableschemadsl #8235

Triggered via pull request February 10, 2025 19:54
Status Failure
Total duration 3m 26s
Artifacts 1

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
Lint Go: pkg/composableschemadsl/parser/parser_impl.go#L1
Please run go run mage.go lint:go. diff --git a/pkg/composableschemadsl/parser/parser_impl.go b/pkg/composableschemadsl/parser/parser_impl.go index c2b0e8c..b5f13aa 100644 --- a/pkg/composableschemadsl/parser/parser_impl.go +++ b/pkg/composableschemadsl/parser/parser_impl.go @@ -45,13 +45,13 @@ type commentedLexeme struct { // sourceParser holds the state of the parser. type sourceParser struct { - source input.Source // the name of the input; used only for error reports - input string // the input string itself + source input.Source // the name of the input; used only for error reports + input string // the input string itself lex *lexer.FlaggableLexer // a reference to the lexer used for tokenization - builder NodeBuilder // the builder function for creating AstNode instances - nodes *nodeStack // the stack of the current nodes - currentToken commentedLexeme // the current token - previousToken commentedLexeme // the previous token + builder NodeBuilder // the builder function for creating AstNode instances + nodes *nodeStack // the stack of the current nodes + currentToken commentedLexeme // the current token + previousToken commentedLexeme // the previous token } // buildParser returns a new sourceParser instance.
Lint Go: pkg/schemadsl/compiler/translator.go#L1
Please run go run mage.go lint:go. diff --git a/pkg/schemadsl/compiler/translator.go b/pkg/schemadsl/compiler/translator.go index 10614a1..ebdfc40 100644 --- a/pkg/schemadsl/compiler/translator.go +++ b/pkg/schemadsl/compiler/translator.go @@ -24,7 +24,7 @@ type translationContext struct { schemaString string skipValidate bool allowedFlags []string - enabledFlags []string + enabledFlags []string } func (tctx *translationContext) prefixedPath(definitionName string) (string, error) {
Lint Go: pkg/schemadsl/parser/parser_impl.go#L1
Please run go run mage.go lint:go. diff --git a/pkg/schemadsl/parser/parser_impl.go b/pkg/schemadsl/parser/parser_impl.go index 76e0b43..1009b6b 100644 --- a/pkg/schemadsl/parser/parser_impl.go +++ b/pkg/schemadsl/parser/parser_impl.go @@ -44,13 +44,13 @@ type commentedLexeme struct { // sourceParser holds the state of the parser. type sourceParser struct { - source input.Source // the name of the input; used only for error reports - input string // the input string itself + source input.Source // the name of the input; used only for error reports + input string // the input string itself lex *lexer.FlaggableLexer // a reference to the lexer used for tokenization - builder NodeBuilder // the builder function for creating AstNode instances - nodes *nodeStack // the stack of the current nodes - currentToken commentedLexeme // the current token - previousToken commentedLexeme // the previous token + builder NodeBuilder // the builder function for creating AstNode instances + nodes *nodeStack // the stack of the current nodes + currentToken commentedLexeme // the current token + previousToken commentedLexeme // the previous token } // buildParser returns a new sourceParser instance.
Lint Go
Process completed with exit code 1.
Lint Go
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.321.0. Please update to the latest version 2.322.0

Artifacts

Produced during runtime
Name Size
diff
798 Bytes