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 - master
env: env:
GO_VERSION: "~1.23" GO_VERSION: "~1.24"
jobs: jobs:
# Runs Golangci-lint on the source code # Runs Golangci-lint on the source code

View File

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

View File

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

4
go.mod
View File

@ -1,8 +1,8 @@
module github.com/kovetskiy/mark module github.com/kovetskiy/mark
go 1.23.0 go 1.24.0
toolchain go1.23.3 toolchain go1.24.2
require ( require (
github.com/bmatcuk/doublestar/v4 v4.8.1 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( converter := goldmark.New(
goldmark.WithExtensions( goldmark.WithExtensions(
extension.GFM,
extension.Footnote, extension.Footnote,
extension.DefinitionList, extension.DefinitionList,
extension.NewTable( extension.NewTable(
extension.WithTableCellAlignMethod(extension.TableCellAlignStyle), extension.WithTableCellAlignMethod(extension.TableCellAlignStyle),
), ),
confluenceExtension, confluenceExtension,
extension.GFM,
), ),
goldmark.WithParserOptions( goldmark.WithParserOptions(
parser.WithAutoHeadingID(), parser.WithAutoHeadingID(),