1
0
mirror of https://github.com/go-task/task.git synced 2025-07-15 01:35:00 +02:00

chore: bump minimum version to 1.23 (#2059)

* chore: bump minimum version to 1.23

* fix: version package for 1.24

* feat: update golangci-lint version
This commit is contained in:
Pete Davison
2025-02-11 22:43:17 +00:00
committed by GitHub
parent e7a6de64cb
commit ce96447468
6 changed files with 9 additions and 7 deletions

View File

@ -13,7 +13,7 @@ jobs:
name: Lint
strategy:
matrix:
go-version: [1.22.x, 1.23.x]
go-version: [1.23.x, 1.24.x]
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
@ -25,7 +25,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60.1
version: v1.64.2
lint-jsonschema:
runs-on: ubuntu-latest

View File

@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6

View File

@ -13,7 +13,7 @@ jobs:
name: Test
strategy:
matrix:
go-version: [1.22.x, 1.23.x]
go-version: [1.23.x, 1.24.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{matrix.platform}}
steps:

View File

@ -12,7 +12,7 @@ linters:
- misspell
- noctx
- paralleltest
- tenv
- usetesting
- thelper
- tparallel
@ -29,6 +29,8 @@ linters-settings:
desc: "Use github.com/go-task/task/v3/errors instead"
goimports:
local-prefixes: github.com/go-task
gofumpt:
module-path: github.com/go-task/task/v3
gofmt:
rewrite-rules:
- pattern: 'interface{}'

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/go-task/task/v3
go 1.22.0
go 1.23.0
require (
github.com/Ladicle/tabwriter v1.0.0

View File

@ -12,7 +12,7 @@ var (
func init() {
info, ok := debug.ReadBuildInfo()
if !ok || info.Main.Version == "" {
if !ok || info.Main.Version == "(devel)" || info.Main.Version == "" {
version = "unknown"
} else {
if version == "" {