From 7080c11cfbded2d500eae6818534897e6870f0c7 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 21 Aug 2026 03:38:54 -0500 Subject: [PATCH 1/4] build: Update to latest action versions. This updates to the following Github actions: - actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 - golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.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 3726db6c3c..2f709f0bab 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Resolve go module directories id: resolve_module_dirs run: | @@ -26,9 +26,9 @@ jobs: go: ["1.25", "1.26"] steps: - name: Check out source - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Go - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Go - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version: "1.25" - name: golangci-lint - uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 + uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 with: install-mode: "goinstall" version: 8f3b0c7ed018e57905fbd873c697e0b1ede605a5 # v2.11.4 From 495124df056bbfcef9f7cb9086bb2b4716158d51 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 21 Aug 2026 03:42:27 -0500 Subject: [PATCH 2/4] build: Update golangci-lint to v2.13.1. --- .github/workflows/go.yml | 2 +- .golangci.yml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2f709f0bab..34c83e24f4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -57,5 +57,5 @@ jobs: uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 with: install-mode: "goinstall" - version: 8f3b0c7ed018e57905fbd873c697e0b1ede605a5 # v2.11.4 + version: 6d2288e072e6f9c9bca28180cae9ce58a049c912 # v2.13.1 working-directory: ${{ matrix.module_dirs }} diff --git a/.golangci.yml b/.golangci.yml index e8e28b8d3a..f5af2195cc 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -27,6 +27,11 @@ linters: - unconvert - unused - usetesting + exclusions: + rules: + - linters: + - govet + text: 'Constant reflect\.Ptr should be inlined' settings: staticcheck: checks: From 025e7c6ed5edc4fdb5da6e26b6c37b707be3ec29 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 21 Aug 2026 03:43:24 -0500 Subject: [PATCH 3/4] build: Test against Go 1.27. This updates CI to test against Go 1.27 with linting at Go 1.26 and removes the tests for Go 1.25 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 34c83e24f4..4eeaacead8 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ["1.25", "1.26"] + go: ["1.26", "1.27"] steps: - name: Check out source uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -52,7 +52,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version: "1.25" + go-version: "1.26" - name: golangci-lint uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 with: From ffecb8e0be7822f3cb83cf90b180d893102332a4 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 21 Aug 2026 03:44:16 -0500 Subject: [PATCH 4/4] docs: Update README.md to required Go 1.26/1.27. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 243bfefef9..629768e073 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ https://decred.org/downloads/
Install Dependencies -- **Go 1.25 or 1.26** +- **Go 1.26 or 1.27** Installation instructions can be found here: https://golang.org/doc/install. Ensure Go was installed properly and is a supported version: