From 7c01e5740a81e84a4b2d509af7934e267d1c8f7c Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Tue, 17 Feb 2026 03:01:50 -0600 Subject: [PATCH 1/4] build: Update to latest action versions. This updates to the following Github Actions: - actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 - golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 --- .github/workflows/go.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 49f0d8b35..da059099f 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,7 +11,7 @@ jobs: module_dirs: ${{ steps.resolve_module_dirs.outputs.module_dirs }} steps: - name: Check out source - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Resolve go module directories id: resolve_module_dirs run: | @@ -26,9 +26,9 @@ jobs: go: ["1.24", "1.25"] steps: - name: Check out source - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Go - uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 + uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 with: go-version: ${{ matrix.go }} - name: Stablilize testdata timestamps @@ -48,13 +48,13 @@ jobs: module_dirs: ${{ fromJson(needs.resolve-modules.outputs.module_dirs ) }} steps: - name: Check out source - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Go - uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 + uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 with: go-version: "1.24" - name: golangci-lint - uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # v9.0.0 + uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 with: install-mode: "goinstall" version: e3b3bac5dd24906c205db9224fde52efd4d238cf # v2.6.1 From cc82c1084a68ae64891ba78f9fdf7a9ef978a037 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Tue, 17 Feb 2026 03:03:44 -0600 Subject: [PATCH 2/4] build: Update golangci-lint to v2.9.0. --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index da059099f..addd3a092 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -16,7 +16,7 @@ jobs: id: resolve_module_dirs run: | echo "Resolving modules in $(pwd)" && \ - MODPATHS=$(find . -type f -name go.mod -printf '"%h",') && \ + MODPATHS=$(find . \( -path ./*/internal/_asm -prune \) -o -type f -name go.mod -printf '"%h",') && \ echo "module_dirs=[${MODPATHS%,}]" >> $GITHUB_OUTPUT build: name: Go CI @@ -57,5 +57,5 @@ jobs: uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 with: install-mode: "goinstall" - version: e3b3bac5dd24906c205db9224fde52efd4d238cf # v2.6.1 + version: 72798d34b1eb36745915b0d4eea5c2b3b31bdfe3 # v2.9.0 working-directory: ${{ matrix.module_dirs }} From f3224a64001f568b4014ca92bc4434323a0400ea Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Tue, 17 Feb 2026 03:04:36 -0600 Subject: [PATCH 3/4] build: Test against Go 1.26. This updates CI to test against Go 1.26 with linting at Go 1.25 and removes the tests for Go 1.24 accordingly. --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index addd3a092..656c3a680 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ["1.24", "1.25"] + go: ["1.25", "1.26"] steps: - name: Check out source uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -52,7 +52,7 @@ jobs: - name: Set up Go uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 with: - go-version: "1.24" + go-version: "1.25" - name: golangci-lint uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 with: From fa3f7048cc028bcbc50cae1d7d04b2f09eac3deb Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Tue, 17 Feb 2026 03:05:49 -0600 Subject: [PATCH 4/4] docs: Update README.md to required Go 1.25/1.26. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e371a5435..dff492986 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ https://decred.org/downloads/
Install Dependencies -- **Go 1.24 or 1.25** +- **Go 1.25 or 1.26** Installation instructions can be found here: https://golang.org/doc/install. Ensure Go was installed properly and is a supported version: