From b70812aeef02926dfbca8608dca6493550478c10 Mon Sep 17 00:00:00 2001 From: Andrew Nesbitt Date: Mon, 31 Aug 2026 21:04:45 +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 33d2a4a..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.25'] - 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.25' + go-version-file: go.mod - name: golangci-lint uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9 diff --git a/go.mod b/go.mod index c6c80c6..48c5edb 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,7 @@ module github.com/git-pkgs/managers -go 1.25.6 +go 1.26 + +toolchain go1.26.7 require gopkg.in/yaml.v3 v3.0.1