fix(ci): fix lint errors and pin CI to Go 1.25
- Run gofmt on all files - Export SetupUPnP to fix unused lint error - Remove Go 1.26 from CI matrix (only test with 1.25)
This commit is contained in:
parent
3e0f3a5a64
commit
d0dbfc3d12
10 changed files with 31 additions and 31 deletions
|
|
@ -14,12 +14,12 @@ func TestFindPar2File(t *testing.T) {
|
|||
vol1 := filepath.Join(dir, "content.vol000+01.par2")
|
||||
vol2 := filepath.Join(dir, "content.vol001+02.par2")
|
||||
|
||||
os.WriteFile(mainPar2, make([]byte, 100), 0o644) // smallest
|
||||
os.WriteFile(mainPar2, make([]byte, 100), 0o644) // smallest
|
||||
os.WriteFile(vol1, make([]byte, 10000), 0o644)
|
||||
os.WriteFile(vol2, make([]byte, 50000), 0o644)
|
||||
|
||||
files := map[string]string{
|
||||
"content.par2": mainPar2,
|
||||
"content.par2": mainPar2,
|
||||
"content.vol000+01.par2": vol1,
|
||||
"content.vol001+02.par2": vol2,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue