From bc6e95f97430051efeef867dd82265fd58175073 Mon Sep 17 00:00:00 2001 From: Ricardo Carneiro Date: Tue, 12 May 2026 23:04:41 -0300 Subject: [PATCH] chore: ajuste de pipeline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Baixa versão Go de 1.26 para 1.24 em go.mod, .golangci.yml e CI. golangci-lint v1.64.8 compilado com Go 1.24 — não suportava 1.26. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci.yml | 4 ++-- .golangci.yml | 2 +- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff49bd5..3227cc0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.26" + go-version: "1.24" cache: true - name: golangci-lint uses: golangci/golangci-lint-action@v6 @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.26" + go-version: "1.24" cache: true - name: Build run: go build -v ./... diff --git a/.golangci.yml b/.golangci.yml index 8627f15..3649efc 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,7 +1,7 @@ run: timeout: 3m tests: true - go: "1.26" + go: "1.24" output: formats: diff --git a/go.mod b/go.mod index 2b9f46a..f649e5c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ricarneiro/ctx -go 1.26.1 +go 1.24 require github.com/spf13/cobra v1.10.2