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

fix(deps): update all non-major dependencies #140

Merged
merged 8 commits into from
Aug 13, 2024

uncomment go fix

0838fa0
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix(deps): update all non-major dependencies #140

uncomment go fix
0838fa0
Select commit
Loading
Failed to load commit list.
GitHub Actions / golangci failed Aug 13, 2024 in 1s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (50)

version/version.go|43 col 12| undefined: semver (typecheck)
cmd/vela-downstream/main.go|152 col 13| undefined: cli (typecheck)
cmd/vela-downstream/main.go|35 col 9| undefined: cli (typecheck)
cmd/vela-downstream/main.go|43 col 19| undefined: cli (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/slices/iter.go|50 col 17| cannot range over seq (variable of type iter.Seq[E]) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/os/stat_linux.go|47 col 57| not enough arguments in call to time.Unix
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|432 col 48| inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|446 col 17| inst.Out undefined (type *onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|447 col 15| inst.Op undefined (type *onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|458 col 13| inst.MatchRune undefined (type *onePassInst has no field or method MatchRune) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|462 col 17| inst.Rune undefined (type *onePassInst has no field or method Rune) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|480 col 39| inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|485 col 16| inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|76 col 12| i.MatchRunePos undefined (type *onePassInst has no field or method MatchRunePos) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|80 col 7| i.Op undefined (type *onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|81 col 12| i.Out undefined (type *onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|238 col 21| p.Inst[pc].Op undefined (type onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|243 col 29| p.Inst[pc].Out undefined (type onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|244 col 27| p.Inst[pc].Arg undefined (type onePassInst has no field or method Arg) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|247 col 17| instAlt.Op undefined (type onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|250 col 18| instAlt.Op undefined (type onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|256 col 17| instOther.Op undefined (type onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|262 col 33| p.Inst[*p_A_Alt].Out undefined (type onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|263 col 35| p.Inst[*p_A_Alt].Arg undefined (type onePassInst has no field or method Arg) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|265 col 15| instAlt.Out undefined (type onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|267 col 22| instAlt.Arg undefined (type onePassInst has no field or method Arg) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|315 col 15| inst.Op undefined (type *onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|317 col 20| inst.Out undefined (type *onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|319 col 23| inst.Out undefined (type *onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|332 col 10| inst.Op undefined (type *onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|367 col 16| inst.Rune undefined (type *onePassInst has no field or method Rune) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|373 col 16| inst.Rune undefined (type *onePassInst has no field or method Rune) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|449 col 14| p.Inst[i].Rune undefined (type onePassInst has no field or method Rune) (typecheck)
../../../go/pkg/mod/github.com/go-vela/[email protected]/vela/authentication.go|195 col 33| resp.Cookies undefined (type *Response has no field or method Cookies) (typecheck)
../../../go/pkg/mod/github.com/go-vela/[email protected]/api/types/oidc.go|37 col 2| undefined: jwt (typecheck)
../../../go/pkg/mod/github.com/ghodss/[email protected]/yaml.go|54 col 9| undefined: yaml (typecheck)
../../../go/pkg/mod/github.com/ghodss/[email protected]/yaml.go|60 col 9| undefined: yaml (typecheck)
../../../go/pkg/mod/github.com/ghodss/[email protected]/yaml.go|80 col 9| undefined: yaml (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/math/big/intconv.go|220 col 21| r.ReadRune undefined (type byteReader has no field or method ReadRune) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/math/big/intconv.go|228 col 11| r.UnreadRune undefined (type byteReader has no field or method UnreadRune) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/crypto/x509/pkcs8.go|105 col 7| previous case (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/crypto/x509/x509.go|86 col 7| previous case (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/crypto/x509/x509.go|932 col 7| previous case (typecheck)
../../../go/pkg/mod/github.com/lestrrat-go/jwx/[email protected]/jwk/cache.go|148 col 17| option.Ident undefined (type CacheOption has no field or method Ident) (typecheck)
../../../go/pkg/mod/github.com/lestrrat-go/jwx/[email protected]/jwk/cache.go|150 col 62| option.Value undefined (type CacheOption has no field or method Value) (typecheck)
../../../go/pkg/mod/github.com/lestrrat-go/jwx/[email protected]/jwk/cache.go|152 col 56| option.Value undefined (type CacheOption has no field or method Value) (typecheck)
../../../go/pkg/mod/github.com/lestrrat-go/jwx/[email protected]/jwk/cache.go|195 col 17| option.Ident undefined (type RegisterOption has no field or method Ident) (typecheck)
../../../go/pkg/mod/github.com/lestrrat-go/jwx/[email protected]/jwk/cache.go|197 col 59| option.Value undefined (type RegisterOption has no field or method Value) (typecheck)
../../../go/pkg/mod/github.com/lestrrat-go/jwx/[email protected]/jwk/cache.go|199 col 64| option.Value undefined (type RegisterOption has no field or method Value) (typecheck)
../../../go/pkg/mod/github.com/lestrrat-go/jwx/[email protected]/jwk/cache.go|201 col 67| option.Value undefined (type RegisterOption has no field or method Value) (typecheck)

Filtered Findings (0)

Annotations

Check failure on line 43 in version/version.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] version/version.go#L43

undefined: semver (typecheck)
Raw output
version/version.go:43:12: undefined: semver (typecheck)
	v, err := semver.NewVersion(Tag)
	          ^

Check failure on line 152 in cmd/vela-downstream/main.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-downstream/main.go#L152

undefined: cli (typecheck)
Raw output
cmd/vela-downstream/main.go:152:13: undefined: cli (typecheck)
func run(c *cli.Context) error {
            ^

Check failure on line 35 in cmd/vela-downstream/main.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-downstream/main.go#L35

undefined: cli (typecheck)
Raw output
cmd/vela-downstream/main.go:35:9: undefined: cli (typecheck)
	app := cli.NewApp()
	       ^

Check failure on line 43 in cmd/vela-downstream/main.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-downstream/main.go#L43

undefined: cli (typecheck)
Raw output
cmd/vela-downstream/main.go:43:19: undefined: cli (typecheck)
	app.Authors = []*cli.Author{
	                 ^

Check failure on line 50 in ../../../go/pkg/mod/golang.org/[email protected]/src/slices/iter.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/slices/iter.go#L50

cannot range over seq (variable of type iter.Seq[E]) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/slices/iter.go:50:17: cannot range over seq (variable of type iter.Seq[E]) (typecheck)
	for v := range seq {
	               ^

Check failure on line 47 in ../../../go/pkg/mod/golang.org/[email protected]/src/os/stat_linux.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/os/stat_linux.go#L47

not enough arguments in call to time.Unix
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/os/stat_linux.go:47:57: not enough arguments in call to time.Unix
	have (unknown type)
	want (int64, int64) (typecheck)
	return time.Unix(fi.Sys().(*syscall.Stat_t).Atim.Unix())
	                                                       ^

Check failure on line 432 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L432

inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:432:48: inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
	if pos == 0 && flag.match(syntax.EmptyOp(inst.Arg)) &&
	                                              ^

Check failure on line 446 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L446

inst.Out undefined (type *onePassInst has no field or method Out) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:446:17: inst.Out undefined (type *onePassInst has no field or method Out) (typecheck)
		pc = int(inst.Out)
		              ^

Check failure on line 447 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L447

inst.Op undefined (type *onePassInst has no field or method Op) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:447:15: inst.Op undefined (type *onePassInst has no field or method Op) (typecheck)
		switch inst.Op {
		            ^

Check failure on line 458 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L458

inst.MatchRune undefined (type *onePassInst has no field or method MatchRune) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:458:13: inst.MatchRune undefined (type *onePassInst has no field or method MatchRune) (typecheck)
			if !inst.MatchRune(r) {
			         ^

Check failure on line 462 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L462

inst.Rune undefined (type *onePassInst has no field or method Rune) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:462:17: inst.Rune undefined (type *onePassInst has no field or method Rune) (typecheck)
			if r != inst.Rune[0] {
			             ^

Check failure on line 480 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L480

inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:480:39: inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
			if !flag.match(syntax.EmptyOp(inst.Arg)) {
			                                   ^

Check failure on line 485 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L485

inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:485:16: inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
			if int(inst.Arg) < len(m.matchcap) {
			            ^

Check failure on line 76 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L76

i.MatchRunePos undefined (type *onePassInst has no field or method MatchRunePos) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:76:12: i.MatchRunePos undefined (type *onePassInst has no field or method MatchRunePos) (typecheck)
	next := i.MatchRunePos(r)
	          ^

Check failure on line 80 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L80

i.Op undefined (type *onePassInst has no field or method Op) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:80:7: i.Op undefined (type *onePassInst has no field or method Op) (typecheck)
	if i.Op == syntax.InstAltMatch {
	     ^

Check failure on line 81 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L81

i.Out undefined (type *onePassInst has no field or method Out) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:81:12: i.Out undefined (type *onePassInst has no field or method Out) (typecheck)
		return i.Out
		         ^

Check failure on line 238 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L238

p.Inst[pc].Op undefined (type onePassInst has no field or method Op) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:238:21: p.Inst[pc].Op undefined (type onePassInst has no field or method Op) (typecheck)
		switch p.Inst[pc].Op {
		                  ^

Check failure on line 243 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L243

p.Inst[pc].Out undefined (type onePassInst has no field or method Out) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:243:29: p.Inst[pc].Out undefined (type onePassInst has no field or method Out) (typecheck)
			p_A_Other := &p.Inst[pc].Out
			                         ^

Check failure on line 244 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L244

p.Inst[pc].Arg undefined (type onePassInst has no field or method Arg) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:244:27: p.Inst[pc].Arg undefined (type onePassInst has no field or method Arg) (typecheck)
			p_A_Alt := &p.Inst[pc].Arg
			                       ^

Check failure on line 247 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L247

instAlt.Op undefined (type onePassInst has no field or method Op) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:247:17: instAlt.Op undefined (type onePassInst has no field or method Op) (typecheck)
			if !(instAlt.Op == syntax.InstAlt || instAlt.Op == syntax.InstAltMatch) {
			             ^

Check failure on line 250 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L250

instAlt.Op undefined (type onePassInst has no field or method Op) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:250:18: instAlt.Op undefined (type onePassInst has no field or method Op) (typecheck)
				if !(instAlt.Op == syntax.InstAlt || instAlt.Op == syntax.InstAltMatch) {
				             ^

Check failure on line 256 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L256

instOther.Op undefined (type onePassInst has no field or method Op) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:256:17: instOther.Op undefined (type onePassInst has no field or method Op) (typecheck)
			if instOther.Op == syntax.InstAlt || instOther.Op == syntax.InstAltMatch {
			             ^

Check failure on line 262 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L262

p.Inst[*p_A_Alt].Out undefined (type onePassInst has no field or method Out) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:262:33: p.Inst[*p_A_Alt].Out undefined (type onePassInst has no field or method Out) (typecheck)
			p_B_Alt := &p.Inst[*p_A_Alt].Out
			                             ^

Check failure on line 263 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L263

p.Inst[*p_A_Alt].Arg undefined (type onePassInst has no field or method Arg) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:263:35: p.Inst[*p_A_Alt].Arg undefined (type onePassInst has no field or method Arg) (typecheck)
			p_B_Other := &p.Inst[*p_A_Alt].Arg
			                               ^

Check failure on line 265 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L265

instAlt.Out undefined (type onePassInst has no field or method Out) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:265:15: instAlt.Out undefined (type onePassInst has no field or method Out) (typecheck)
			if instAlt.Out == uint32(pc) {
			           ^