ci: bump to go 1.23 (#453)
Upgrade to Go 1.23. Upgrade also requires bumping `golangci-lint` to v1.62.2, and upgrading third-party test versions for some failing cases.
This commit is contained in:
committed by
GitHub
parent
3b84ecd27b
commit
b985ff5775
@@ -97,7 +97,7 @@ func (f *Function) Signature() Signature {
|
||||
n := f.Arity()
|
||||
ops := make([]string, n)
|
||||
count := map[string]int{}
|
||||
for j := 0; j < n; j++ {
|
||||
for j := range n {
|
||||
// Collect unique lowercase bytes from first characters of operand types.
|
||||
s := map[byte]bool{}
|
||||
for _, form := range f.Forms {
|
||||
|
||||
@@ -12,7 +12,6 @@ func TestFunctionsDuplicateFormSignatures(t *testing.T) {
|
||||
// manifest as duplicate case statements in generated code.
|
||||
fns := InstructionsFunctions(inst.Instructions)
|
||||
for _, fn := range fns {
|
||||
fn := fn // scopelint
|
||||
t.Run(fn.Name(), func(t *testing.T) {
|
||||
seen := map[string]bool{}
|
||||
for _, f := range fn.Forms {
|
||||
@@ -36,7 +35,7 @@ func TestFunctionsUniqueArgNames(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
names := map[string]bool{}
|
||||
for j := 0; j < n; j++ {
|
||||
for j := range n {
|
||||
names[s.ParameterName(j)] = true
|
||||
}
|
||||
if len(names) != n {
|
||||
|
||||
Reference in New Issue
Block a user