From edaeb4680705168d5d2a414a5deea2f32870e52b Mon Sep 17 00:00:00 2001 From: Francesc Campoy Date: Wed, 11 Feb 2026 23:17:10 -0800 Subject: [PATCH 1/2] Update CI Go versions to 1.24, 1.25, and 1.26 Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f485dff..03119f2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [ '1.11', '1.12', '1.13' ] + go: [ '1.24', '1.25', '1.26' ] name: Go Version ${{ matrix.go }} steps: - uses: actions/checkout@v4 From 3a8ab85118a1a82784d86df91b66c7303d00d46a Mon Sep 17 00:00:00 2001 From: Francesc Campoy Date: Fri, 13 Feb 2026 08:48:13 -0800 Subject: [PATCH 2/2] Fix test for Go 1.24+ URL parse error format Newer Go versions quote the URL in url.Parse error messages. Co-Authored-By: Claude Opus 4.6 --- embedmd/embedmd_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embedmd/embedmd_test.go b/embedmd/embedmd_test.go index 47efa66..8c113c8 100644 --- a/embedmd/embedmd_test.go +++ b/embedmd/embedmd_test.go @@ -238,7 +238,7 @@ func TestProcess(t *testing.T) { in: "# This is some markdown\n" + "[embedmd]:# (https://fakeurl.com\\main.go)\n" + "Yay!\n", - err: "2: could not read https://fakeurl.com\\main.go: parse https://fakeurl.com\\main.go: invalid character \"\\\\\" in host name", + err: "2: could not read https://fakeurl.com\\main.go: parse \"https://fakeurl.com\\\\main.go\": invalid character \"\\\\\" in host name", }, { name: "ignore commands in code blocks",