Bump to go 1.24

This commit is contained in:
Manuel Rüger 2025-04-15 20:33:43 +02:00
parent 5cbd0fd6eb
commit 92634869e3
5 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ on:
- master
env:
GO_VERSION: "~1.23"
GO_VERSION: "~1.24"
jobs:
# Runs Golangci-lint on the source code

View File

@ -16,7 +16,7 @@ jobs:
- name: Set Up Go
uses: actions/setup-go@v5
with:
go-version: "1.23"
go-version: "1.24"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:

View File

@ -1,4 +1,4 @@
FROM golang:1.23.8 AS builder
FROM golang:1.24.2 AS builder
ENV GOPATH="/go"
WORKDIR /go/src/github.com/kovetskiy/mark
COPY / .

4
go.mod
View File

@ -1,8 +1,8 @@
module github.com/kovetskiy/mark
go 1.23.0
go 1.24.0
toolchain go1.23.3
toolchain go1.24.2
require (
github.com/bmatcuk/doublestar/v4 v4.8.1

View File

@ -75,13 +75,13 @@ func CompileMarkdown(markdown []byte, stdlib *stdlib.Lib, path string, mermaidPr
converter := goldmark.New(
goldmark.WithExtensions(
extension.GFM,
extension.Footnote,
extension.DefinitionList,
extension.NewTable(
extension.WithTableCellAlignMethod(extension.TableCellAlignStyle),
),
confluenceExtension,
extension.GFM,
),
goldmark.WithParserOptions(
parser.WithAutoHeadingID(),