diff --git a/go.mod b/go.mod
index a4803812e..a814e83e7 100644
--- a/go.mod
+++ b/go.mod
@@ -4,7 +4,7 @@ go 1.26.2
require (
github.com/BurntSushi/toml v1.6.0
- github.com/alecthomas/chroma/v2 v2.26.1
+ github.com/alecthomas/chroma/v2 v2.27.0
github.com/bradleyfalzon/ghinstallation/v2 v2.19.0
github.com/cloudbase/garm-provider-common v0.1.9
github.com/felixge/httpsnoop v1.1.0
diff --git a/go.sum b/go.sum
index d0f9c9ce1..20f7a2d18 100644
--- a/go.sum
+++ b/go.sum
@@ -4,8 +4,8 @@ github.com/BurntSushi/toml v1.6.0 h1:dRaEfpa2VI55EwlIW72hMRHdWouJeRF7TPYhI+AUQjk
github.com/BurntSushi/toml v1.6.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0=
github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k=
-github.com/alecthomas/chroma/v2 v2.26.1 h1:2X21EdxGZNv5GF9mG5u+uzc02GCFyGxbcBm3Grd9A78=
-github.com/alecthomas/chroma/v2 v2.26.1/go.mod h1:lxhRRa9H4hPmRLOOdYga4zkQIQjq3dtrrdwQeCfu78Y=
+github.com/alecthomas/chroma/v2 v2.27.0 h1:FodwmyOBgJULFYmDqibcp9pvfDLWdtPRh9v/r5BXYZs=
+github.com/alecthomas/chroma/v2 v2.27.0/go.mod h1:NjJ3ciIgrqBNeIkWZ4e46nseoLDslxU1LmfCoL+wcY8=
github.com/alecthomas/repr v0.5.2 h1:SU73FTI9D1P5UNtvseffFSGmdNci/O6RsqzeXJtP0Qs=
github.com/alecthomas/repr v0.5.2/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
diff --git a/vendor/github.com/alecthomas/chroma/v2/BUILD.bit b/vendor/github.com/alecthomas/chroma/v2/BUILD.bit
index 7f3b5ef83..f8ee1aee0 100644
--- a/vendor/github.com/alecthomas/chroma/v2/BUILD.bit
+++ b/vendor/github.com/alecthomas/chroma/v2/BUILD.bit
@@ -69,7 +69,16 @@ chromad = go.exe {
goos = env("GOOS", "linux")
goarch = env("GOARCH", "amd64")
cgo = false
- depends_on = [wasm-exec, chroma-wasm, index-min-js, index-min-css]
+ depends_on = [wasm-exec, chroma-wasm, index-min-js, index-min-css, test]
+}
+
+pre format-go = go.fmt {
+ package = "./..."
+}
+
+# Run Go tests.
+test = go.test {
+ package = "./..."
}
# Deploy chromad to swapoff.org. Must be explicitly selected.
@@ -81,4 +90,4 @@ explicit upload = exec {
depends_on = [chromad]
}
-target default = [chromad, readme, tokentype]
+target default = [test, chromad, readme, tokentype]
diff --git a/vendor/github.com/alecthomas/chroma/v2/Dockerfile b/vendor/github.com/alecthomas/chroma/v2/Dockerfile
index 8a706766d..dc10ec753 100644
--- a/vendor/github.com/alecthomas/chroma/v2/Dockerfile
+++ b/vendor/github.com/alecthomas/chroma/v2/Dockerfile
@@ -28,7 +28,7 @@ ENV GOARCH=amd64
RUN just chromad
# Runtime stage
-FROM alpine:3.23 AS runtime
+FROM alpine:3.24 AS runtime
# Install ca-certificates for HTTPS requests
RUN apk --no-cache add ca-certificates curl
diff --git a/vendor/github.com/alecthomas/chroma/v2/lexers/embedded/postscript.xml b/vendor/github.com/alecthomas/chroma/v2/lexers/embedded/postscript.xml
index 15a3422d0..32d1bb088 100644
--- a/vendor/github.com/alecthomas/chroma/v2/lexers/embedded/postscript.xml
+++ b/vendor/github.com/alecthomas/chroma/v2/lexers/embedded/postscript.xml
@@ -5,6 +5,10 @@
postscr
*.ps
*.eps
+ *.epsf
+ *.epsi
+ *.pfa
+ *.t42
application/postscript
@@ -86,4 +90,4 @@
-
\ No newline at end of file
+
diff --git a/vendor/github.com/alecthomas/chroma/v2/lexers/embedded/templ.xml b/vendor/github.com/alecthomas/chroma/v2/lexers/embedded/templ.xml
new file mode 100644
index 000000000..14c26d6bc
--- /dev/null
+++ b/vendor/github.com/alecthomas/chroma/v2/lexers/embedded/templ.xml
@@ -0,0 +1,315 @@
+
+
+ Templ
+ templ
+ *.templ
+ text/x-templ
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/vendor/github.com/alecthomas/chroma/v2/lexers/embedded/yaml.xml b/vendor/github.com/alecthomas/chroma/v2/lexers/embedded/yaml.xml
index 070755416..ede15d33d 100644
--- a/vendor/github.com/alecthomas/chroma/v2/lexers/embedded/yaml.xml
+++ b/vendor/github.com/alecthomas/chroma/v2/lexers/embedded/yaml.xml
@@ -23,6 +23,9 @@
+
+
+
@@ -78,15 +81,22 @@
+
+
+
+
+
+
+
-
+
-
+
@@ -95,14 +105,14 @@
-
+
-
+
diff --git a/vendor/github.com/alecthomas/chroma/v2/renovate.json5 b/vendor/github.com/alecthomas/chroma/v2/renovate.json5
index 9ade48124..050483e8b 100644
--- a/vendor/github.com/alecthomas/chroma/v2/renovate.json5
+++ b/vendor/github.com/alecthomas/chroma/v2/renovate.json5
@@ -9,6 +9,7 @@
"schedule:earlyMondays", // Run once a week.
'helpers:pinGitHubActionDigests',
],
+ "postUpdateOptions": ["gomodTidy"],
"packageRules": [
{
"matchPackageNames": ["golangci-lint"],
diff --git a/vendor/modules.txt b/vendor/modules.txt
index eaef19d73..44c8da3f8 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -6,7 +6,7 @@ filippo.io/edwards25519/field
## explicit; go 1.18
github.com/BurntSushi/toml
github.com/BurntSushi/toml/internal
-# github.com/alecthomas/chroma/v2 v2.26.1
+# github.com/alecthomas/chroma/v2 v2.27.0
## explicit; go 1.25
github.com/alecthomas/chroma/v2
github.com/alecthomas/chroma/v2/lexers