build: update Go toolchain and crypto dependency

This commit is contained in:
2026-07-09 18:18:01 +07:00
parent 5d460f8afe
commit ec6cd866e6
5 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.25']
go: ['1.26.5']
steps:
- uses: actions/checkout@v6
@@ -27,8 +27,8 @@ jobs:
run: go vet ./...
# Pinning the lint binary to v2.12.x because our .golangci.yml targets
# Go 1.25 and earlier v2.x releases were built against go1.24, which the
# lint config rejects with "Go language version used to build
# Go 1.26 and earlier v2.x releases were built against older Go versions,
# which the lint config rejects with "Go language version used to build
# golangci-lint is lower than the targeted Go version".
# Action v9 is the first Node 24-native release; still accepts any
# golangci-lint >= v2.1.0.
+1 -1
View File
@@ -8,7 +8,7 @@ version: "2"
run:
timeout: 5m
go: "1.25"
go: "1.26"
linters:
enable:
+1 -1
View File
@@ -1,4 +1,4 @@
FROM golang:1.25-alpine AS builder
FROM golang:1.26.5-alpine AS builder
WORKDIR /src
COPY go.mod go.sum ./
+2 -2
View File
@@ -1,6 +1,6 @@
module github.com/tiennm99/miti99bot
go 1.25.0
go 1.26.5
require (
github.com/go-telegram/bot v1.20.0
@@ -16,7 +16,7 @@ require (
github.com/xdg-go/scram v1.2.0 // indirect
github.com/xdg-go/stringprep v1.0.4 // indirect
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
golang.org/x/crypto v0.51.0 // indirect
golang.org/x/crypto v0.52.0 // indirect
golang.org/x/sync v0.20.0 // indirect
golang.org/x/text v0.37.0 // indirect
)
+2 -2
View File
@@ -21,8 +21,8 @@ go.mongodb.org/mongo-driver/v2 v2.7.0 h1:RO+zqavD2/GCL3cxOMyZhx6R9Irzr8/6gsoqx5t
go.mongodb.org/mongo-driver/v2 v2.7.0/go.mod h1:yOI9kBsufol30iFsl1slpdq1I0eHPzybRWdyYUs8K/0=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.51.0 h1:IBPXwPfKxY7cWQZ38ZCIRPI50YLeevDLlLnyC5wRGTI=
golang.org/x/crypto v0.51.0/go.mod h1:8AdwkbraGNABw2kOX6YFPs3WM22XqI4EXEd8g+x7Oc8=
golang.org/x/crypto v0.52.0 h1:RMs7fP2rXdep0CftQlK8Uf+kibLm7qkCcradZWYz988=
golang.org/x/crypto v0.52.0/go.mod h1:1QgfPxDqh0T2M/elOJtp9RvuR95kVjir0e6/BvEmGbc=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=