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
+2 -2
View File
@@ -11,8 +11,8 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
go-version: ["1.24"] go-version: ["1.24", "1.25"]
name: Lint ${{ matrix.go-version == '1.24' && '(latest)' || '(old)' }} name: Lint ${{ matrix.go-version == '1.25' && '(latest)' || '(old)' }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
+2 -2
View File
@@ -1,7 +1,7 @@
exclude: pkg/gotd/_fuzz/.*|pkg/gotd/_schema/.*|pkg/gotd/.*\.tmpl exclude: pkg/gotd/_fuzz/.*|pkg/gotd/_schema/.*|pkg/gotd/.*\.tmpl
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0 rev: v6.0.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
exclude_types: [markdown] exclude_types: [markdown]
@@ -10,7 +10,7 @@ repos:
- id: check-added-large-files - id: check-added-large-files
- repo: https://github.com/tekwizely/pre-commit-golang - repo: https://github.com/tekwizely/pre-commit-golang
rev: v1.0.0-rc.1 rev: v1.0.0-rc.2
hooks: hooks:
- id: go-imports - id: go-imports
args: args:
+1 -1
View File
@@ -2,7 +2,7 @@ module go.mau.fi/mautrix-telegram
go 1.24.0 go 1.24.0
toolchain go1.24.5 toolchain go1.25.0
require ( require (
github.com/cenkalti/backoff/v4 v4.3.0 github.com/cenkalti/backoff/v4 v4.3.0