From 92634869e3efbafabfd6086022e40c722c17e2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Tue, 15 Apr 2025 20:33:43 +0200 Subject: [PATCH] Bump to go 1.24 --- .github/workflows/ci.yml | 2 +- .github/workflows/goreleaser.yml | 2 +- Dockerfile | 2 +- go.mod | 4 ++-- markdown/markdown.go | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60964ba..2065a42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ on: - master env: - GO_VERSION: "~1.23" + GO_VERSION: "~1.24" jobs: # Runs Golangci-lint on the source code diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 3d45824..ed8923d 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -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: diff --git a/Dockerfile b/Dockerfile index f18a401..650e298 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 / . diff --git a/go.mod b/go.mod index 8b3a0b0..443cd8a 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/markdown/markdown.go b/markdown/markdown.go index 50c45ba..3d00922 100644 --- a/markdown/markdown.go +++ b/markdown/markdown.go @@ -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(),