ci: update Go version and pre-commit hooks

This commit is contained in:
Tulir Asokan
2025-08-26 18:05:20 +03:00
parent 597d0e996b
commit 9e4b6c3c46
3 changed files with 5 additions and 5 deletions

View File

@@ -11,8 +11,8 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ["1.24"]
name: Lint ${{ matrix.go-version == '1.24' && '(latest)' || '(old)' }}
go-version: ["1.24", "1.25"]
name: Lint ${{ matrix.go-version == '1.25' && '(latest)' || '(old)' }}
steps:
- uses: actions/checkout@v4

View File

@@ -1,7 +1,7 @@
exclude: pkg/gotd/_fuzz/.*|pkg/gotd/_schema/.*|pkg/gotd/.*\.tmpl
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude_types: [markdown]
@@ -10,7 +10,7 @@ repos:
- id: check-added-large-files
- repo: https://github.com/tekwizely/pre-commit-golang
rev: v1.0.0-rc.1
rev: v1.0.0-rc.2
hooks:
- id: go-imports
args:

2
go.mod
View File

@@ -2,7 +2,7 @@ module go.mau.fi/mautrix-telegram
go 1.24.0
toolchain go1.24.5
toolchain go1.25.0
require (
github.com/cenkalti/backoff/v4 v4.3.0