chore: update dependencies and CI actions

- Update Go dependencies to latest versions
- Bump Go version from 1.25.1 to 1.26
- Modernize code: interface{} -> any, strings.Split -> strings.SplitSeq
- Update GitHub Actions to latest versions:
  - actions/checkout: v3/v4 -> v6
  - actions/setup-go: v3 -> v6 (use go-version-file)
  - actions/upload-artifact: v4 -> v7
  - docker/setup-qemu-action: v3 -> v4
  - docker/setup-buildx-action: v3 -> v4
  - docker/login-action: v3 -> v4
  - docker/build-push-action: v6 -> v7
- Remove hardcoded GO_VERSION env var, read from go.mod
This commit is contained in:
wjqserver 2026-04-04 22:16:40 +08:00
parent 32baca85db
commit 9f6e4b9714
7 changed files with 76 additions and 78 deletions

18
go.mod
View file

@ -1,26 +1,26 @@
module ghproxy
go 1.25.1
go 1.26
require (
github.com/BurntSushi/toml v1.5.0
github.com/WJQSERVER-STUDIO/httpc v0.8.2
golang.org/x/net v0.44.0
golang.org/x/time v0.13.0
github.com/BurntSushi/toml v1.6.0
github.com/WJQSERVER-STUDIO/httpc v0.9.0
golang.org/x/net v0.52.0
golang.org/x/time v0.15.0
)
require (
github.com/WJQSERVER-STUDIO/go-utils/iox v0.0.2
github.com/WJQSERVER-STUDIO/go-utils/limitreader v0.0.2
github.com/WJQSERVER/wanf v0.0.0-20250810023226-e51d9d0737ee
github.com/WJQSERVER/wanf v0.0.8
github.com/fenthope/bauth v0.0.1
github.com/fenthope/ikumi v0.0.2
github.com/fenthope/ipfilter v0.0.1
github.com/fenthope/reco v0.0.4
github.com/fenthope/reco v0.0.5
github.com/fenthope/record v0.0.4
github.com/go-json-experiment/json v0.0.0-20250813233538-9b1f9ea2e11b
github.com/go-json-experiment/json v0.0.0-20260214004413-d219187c3433
github.com/hashicorp/golang-lru/v2 v2.0.7
github.com/infinite-iroha/touka v0.3.7
github.com/infinite-iroha/touka v0.5.1
github.com/wjqserver/modembed v0.0.1
)