Skip to content

Commit

Permalink
chore: sync with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
DecFox committed Nov 24, 2024
1 parent 4cc200b commit b933b81
Show file tree
Hide file tree
Showing 8 changed files with 1,183 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21.8"
go-version: "1.22.2"

- name: Build
run: go build -v ./...
Expand Down
3 changes: 2 additions & 1 deletion cgi/cgi_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ package cgi
import (
"fmt"
"io"
"net/http"
"os"
"path"
"sort"
"strings"
"time"

http "github.com/ooni/oohttp"
)

func cgiMain() {
Expand Down
2 changes: 1 addition & 1 deletion cgi/host_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ package cgi
import (
"bufio"
"fmt"
"internal/testenv"
"io"
"net"
"os"
Expand All @@ -23,6 +22,7 @@ import (

http "github.com/ooni/oohttp"
httptest "github.com/ooni/oohttp/httptest"
testenv "github.com/ooni/oohttp/internal/testenv"
)

// TestMain executes the test binary as the cgi server if
Expand Down
Loading

0 comments on commit b933b81

Please sign in to comment.