From 84212016726c1700b2c88a70577cfebcd50e0118 Mon Sep 17 00:00:00 2001 From: Xin Date: Fri, 20 Feb 2026 20:19:27 +0000 Subject: [PATCH] chore: bump Hugo, Go, and Node.js to latest versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Hugo: 0.147.7 → 0.156.0 - Go: 1.24 → 1.26 (CI workflows and go.mod files) - Node.js: 22 → 24 (LTS) in accessibility workflow --- .github/workflows/accessibility.yml | 6 +++--- .github/workflows/pages.yml | 4 ++-- docs/go.mod | 2 +- docs/hugo.work | 2 +- go.mod | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/accessibility.yml b/.github/workflows/accessibility.yml index 9964b1b..1bd09ef 100644 --- a/.github/workflows/accessibility.yml +++ b/.github/workflows/accessibility.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest environment: accessibility env: - HUGO_VERSION: 0.147.7 + HUGO_VERSION: 0.156.0 steps: - name: Checkout uses: actions/checkout@v4 @@ -28,12 +28,12 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: "1.24" + go-version: "1.26" - name: Setup Node uses: actions/setup-node@v4 with: - node-version: "22" + node-version: "24" cache: npm - name: Setup Hugo diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 5f90deb..c5e98d9 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -31,7 +31,7 @@ jobs: build: runs-on: ubuntu-latest env: - HUGO_VERSION: 0.147.7 + HUGO_VERSION: 0.156.0 steps: - name: Checkout uses: actions/checkout@v4 @@ -43,7 +43,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: "1.24" + go-version: "1.26" - name: Setup Pages id: pages diff --git a/docs/go.mod b/docs/go.mod index 9f416d6..bfc31c9 100644 --- a/docs/go.mod +++ b/docs/go.mod @@ -1,5 +1,5 @@ module github.com/imfing/hextra/docs -go 1.20 +go 1.26 replace github.com/imfing/hextra => ../ diff --git a/docs/hugo.work b/docs/hugo.work index fab7283..560235e 100644 --- a/docs/hugo.work +++ b/docs/hugo.work @@ -1,3 +1,3 @@ -go 1.20 +go 1.26 use ../ diff --git a/go.mod b/go.mod index 0269be6..168170d 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/imfing/hextra -go 1.20 +go 1.26