From 5d57b7e61fe97ad32c2bf2e6a6767afaaff3196e Mon Sep 17 00:00:00 2001 From: Andrew Nesbitt Date: Mon, 31 Aug 2026 21:03:58 +0100 Subject: [PATCH] Set go 1.26 and toolchain go1.26.7 --- .github/workflows/ci.yml | 8 ++------ go.mod | 4 +++- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 961ea90..818cdf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,6 @@ permissions: {} jobs: test: runs-on: ubuntu-latest - strategy: - matrix: - go-version: ['1.26.7'] - steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: @@ -23,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version: ${{ matrix.go-version }} + go-version-file: go.mod - name: Build run: go build -v ./... @@ -41,7 +37,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version: '1.26.7' + go-version-file: go.mod - name: golangci-lint uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9 diff --git a/go.mod b/go.mod index 2e50abc..0c6c5cb 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/git-pkgs/registries -go 1.26.7 +go 1.26.0 + +toolchain go1.26.7 require ( github.com/cenk/backoff v2.2.1+incompatible