Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(ci): verify go.sum is in sync before go-html-to-md build (#2979)

Abimael Martellceb5fe846014
diff --git a/.github/workflows/test-server.yml b/.github/workflows/test-server.yml
index 20259d02c..ebe8fd664 100644
--- a/.github/workflows/test-server.yml
+++ b/.github/workflows/test-server.yml
@@ -105,6 +105,18 @@ jobs:
go-version: 1.24
cache-dependency-path: apps/api/sharedLibs/go-html-to-md/go.sum
+ - name: Verify go.sum is up to date (sharedLibs/go-html-to-md)
+ run: |
+ cd apps/api/sharedLibs/go-html-to-md
+ go mod tidy
+ git diff --exit-code go.mod go.sum || (echo "go.mod/go.sum is out of sync -- run 'go mod tidy' and commit" && exit 1)
+
+ - name: Verify go.sum is up to date (go-html-to-md-service)
+ run: |
+ cd apps/go-html-to-md-service
+ go mod tidy
+ git diff --exit-code go.mod go.sum || (echo "go.mod/go.sum is out of sync -- run 'go mod tidy' and commit" && exit 1)
+
- name: Restore Go lib
id: golib_restore
uses: actions/cache/restore@v4
@@ -116,7 +128,6 @@ jobs:
if: steps.golib_restore.outputs.cache-hit != 'true'
run: |
cd apps/api/sharedLibs/go-html-to-md
- go mod tidy
go build -o libhtml-to-markdown.so -buildmode=c-shared html-to-markdown.go
- name: Cache Go lib
diff --git a/apps/go-html-to-md-service/go.mod b/apps/go-html-to-md-service/go.mod
index d724ec0a9..cec66dbe4 100644
--- a/apps/go-html-to-md-service/go.mod
+++ b/apps/go-html-to-md-service/go.mod
@@ -3,13 +3,13 @@ module github.com/firecrawl/go-html-to-md-service
go 1.23.0
require (
- github.com/PuerkitoBio/goquery v1.10.3
github.com/firecrawl/html-to-markdown v0.0.0-20260305014655-0ec744e89d3c
github.com/gorilla/mux v1.8.1
github.com/rs/zerolog v1.33.0
)
require (
+ github.com/PuerkitoBio/goquery v1.10.3 // indirect
github.com/andybalholm/cascadia v1.3.3 // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
diff --git a/apps/go-html-to-md-service/go.sum b/apps/go-html-to-md-service/go.sum
index 86f5c88d4..9dfc26ea7 100644
--- a/apps/go-html-to-md-service/go.sum
+++ b/apps/go-html-to-md-service/go.sum
@@ -4,10 +4,8 @@ github.com/andybalholm/cascadia v1.3.3 h1:AG2YHrzJIm4BZ19iwJ/DAua6Btl3IwJX+VI4kk
github.com/andybalholm/cascadia v1.3.3/go.mod h1:xNd9bqTn98Ln4DwST8/nG+H0yuB8Hmgu1YHNnWw0GeA=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
-github.com/firecrawl/html-to-markdown v0.0.0-20260203173849-25e9840a0878 h1:PsxFhBLrH0KKkYz5FXzUZefuxUQoodu5ZgDyAaDA6p8=
-github.com/firecrawl/html-to-markdown v0.0.0-20260203173849-25e9840a0878/go.mod h1:jngam+MdNp7FZkhSTlFsuA5hXY21X0+vuiGlpgo2n5o=
-github.com/firecrawl/html-to-markdown v0.0.0-20260305014106-d5b7c1a14bb9 h1:+riTLXKteNT9WJR9sJKh3EL3BwroJxdVAEEl0JZzUTY=
-github.com/firecrawl/html-to-markdown v0.0.0-20260305014106-d5b7c1a14bb9/go.mod h1:jngam+MdNp7FZkhSTlFsuA5hXY21X0+vuiGlpgo2n5o=
+github.com/firecrawl/html-to-markdown v0.0.0-20260305014655-0ec744e89d3c h1:EadFGDVcmkhrWfld8MVrnWFIoimCpRd9eUX/AwCiMRs=
+github.com/firecrawl/html-to-markdown v0.0.0-20260305014655-0ec744e89d3c/go.mod h1:jngam+MdNp7FZkhSTlFsuA5hXY21X0+vuiGlpgo2n5o=
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=