Skip to content

Commit 11e9164

Browse files
committed
Update go version and fix some issues
1 parent 0b2c352 commit 11e9164

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Go
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version: '1.23'
25+
go-version: '1.24'
2626

2727
- name: Setup
2828
run: make setup
@@ -43,7 +43,7 @@ jobs:
4343
- name: Set up Go
4444
uses: actions/setup-go@v4
4545
with:
46-
go-version: '1.23'
46+
go-version: '1.24'
4747

4848
- name: Setup
4949
run: .\build.bat setup

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/UTDNebula/api-tools
22

3-
go 1.23.0
3+
go 1.24
44

55
require (
66
github.com/PuerkitoBio/goquery v1.8.1

parser/validator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,10 +342,10 @@ func testDuplicatePass(objType string, ix1 int, ix2 int, t *testing.T) {
342342
defer func() {
343343
logOutput := logBuffer.String()
344344
if logOutput != "" {
345-
t.Errorf("Expected nothing in log for " + objType)
345+
t.Errorf("Expected nothing in log for %s", objType)
346346
}
347347
if r := recover(); r != nil {
348-
t.Errorf("The function panic unexpectedly for " + objType)
348+
t.Errorf("The function panic unexpectedly for %s", objType)
349349
}
350350
}()
351351

utils/methods.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ func GetCoursePrefixes(chromedpCtx context.Context) []string {
312312
if err != nil {
313313
log.Panic(err)
314314
}
315-
log.Printf("Found the %d course prefixes!\n", len(coursePrefixes))
315+
log.Printf("Found the %d course prefixes!", len(coursePrefixes))
316316
return coursePrefixes
317317
}
318318

0 commit comments

Comments
 (0)