From 8e23ee2d02145a878130d59399226f3807f63565 Mon Sep 17 00:00:00 2001 From: Andrew Nesbitt Date: Mon, 31 Aug 2026 21:05:56 +0100 Subject: [PATCH] Set go 1.26 and toolchain go1.26.7 --- .github/workflows/ci.yml | 5 ++--- go.mod | 4 +++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f535d24..b0c491b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,6 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - go-version: ['1.25'] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -25,7 +24,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 cache: false - name: Build @@ -45,7 +44,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version: '1.25' + go-version-file: go.mod cache: false - name: golangci-lint diff --git a/go.mod b/go.mod index f425fd7..6a87cbf 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,5 @@ module github.com/git-pkgs/gitignore -go 1.25.5 +go 1.26 + +toolchain go1.26.7