mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 23:02:25 -05:00
[chore] Upgrade to Go 1.24 (#4187)
* Set `go.mod` to 1.24 now that it's been out for 3 months. * Update all the test to use `testing.T.Context()`. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4187 Co-authored-by: Daenney <git@noreply.sourcery.dny.nu> Co-committed-by: Daenney <git@noreply.sourcery.dny.nu>
This commit is contained in:
parent
ec4d4d0115
commit
d5c9c4adc1
175 changed files with 857 additions and 1004 deletions
|
|
@ -22,7 +22,7 @@ steps:
|
|||
|
||||
# We use golangci-lint for linting.
|
||||
# See: https://golangci-lint.run/
|
||||
image: golangci/golangci-lint:v1.62.0
|
||||
image: golangci/golangci-lint:v1.64.8
|
||||
pull: true
|
||||
|
||||
# https://woodpecker-ci.org/docs/administration/configuration/backends/docker#run-user
|
||||
|
|
@ -61,7 +61,7 @@ steps:
|
|||
any(fromJSON(CI_PIPELINE_FILES), { # startsWith "internal/" || # startsWith "cmd/" || # startsWith "testrig/" || # startsWith "vendor/" }) ||
|
||||
len(fromJSON(CI_PIPELINE_FILES)) == 0
|
||||
|
||||
image: golang:1.23-alpine
|
||||
image: golang:1.24-alpine
|
||||
pull: true
|
||||
|
||||
# https://woodpecker-ci.org/docs/administration/configuration/backends/docker#run-user
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ clone:
|
|||
steps:
|
||||
release:
|
||||
# https://codeberg.org/superseriousbusiness/gotosocial-woodpecker-build
|
||||
image: superseriousbusiness/gotosocial-woodpecker-build:0.11.0
|
||||
image: superseriousbusiness/gotosocial-woodpecker-build:0.12.0
|
||||
pull: true
|
||||
|
||||
# https://woodpecker-ci.org/docs/usage/volumes
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ steps:
|
|||
len(fromJSON(CI_PIPELINE_FILES)) == 0
|
||||
|
||||
# https://codeberg.org/superseriousbusiness/gotosocial-woodpecker-build
|
||||
image: superseriousbusiness/gotosocial-woodpecker-build:0.11.0
|
||||
image: superseriousbusiness/gotosocial-woodpecker-build:0.12.0
|
||||
pull: true
|
||||
|
||||
# https://woodpecker-ci.org/docs/usage/volumes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue