From b55a4087d0147da12d76f6ddda3891d4fc255ea5 Mon Sep 17 00:00:00 2001 From: Andrew Nesbitt Date: Mon, 31 Aug 2026 21:04:19 +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 6adb8bf..575ecf2 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 ./... @@ -54,7 +50,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: Lint root module uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9 diff --git a/go.mod b/go.mod index fb8efcd..bc9f349 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/git-pkgs/clone -go 1.25.6 +go 1.26 + +toolchain go1.26.7 require ( github.com/git-pkgs/magic v0.2.0