Add go1.25 tests (#869)

* Add go1.25 tests

* remove 1.23 test

---------

Co-authored-by: John Roesler <johnrroesler@gmail.com>
This commit is contained in:
apocelipes 2025-09-02 22:32:29 +08:00 committed by GitHub
parent b383ca99c5
commit 6e6485bd57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 31 additions and 31 deletions

View File

@ -1,4 +1,4 @@
on: on:
push: push:
branches: branches:
- v2 - v2
@ -6,14 +6,14 @@
branches: branches:
- v2 - v2
name: lint and test name: lint and test
jobs: jobs:
golangci: golangci:
strategy: strategy:
matrix: matrix:
go-version: go-version:
- "1.23"
- "1.24" - "1.24"
- "1.25"
name: lint and test name: lint and test
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -26,6 +26,6 @@
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v8.0.0 uses: golangci/golangci-lint-action@v8.0.0
with: with:
version: v2.1.5 version: v2.4.0
- name: test - name: test
run: make test_ci run: make test_ci

View File

@ -12,7 +12,7 @@ repos:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/golangci/golangci-lint - repo: https://github.com/golangci/golangci-lint
rev: v2.1.5 rev: v2.4.0
hooks: hooks:
- id: golangci-lint - id: golangci-lint
- repo: https://github.com/TekWizely/pre-commit-golang - repo: https://github.com/TekWizely/pre-commit-golang