Update GitHub Actions workflows to use Go version 1.25

- Changed the Go version in multiple workflow files from 1.24 to 1.25, ensuring compatibility with the latest features and improvements in the Go programming language.
This commit is contained in:
Max 2025-12-20 11:54:53 +08:00
parent 09d368dae7
commit f8bcea23fc
2 changed files with 8 additions and 8 deletions

View file

@ -201,7 +201,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go: [1.24] go: ["1.25"]
if: > if: >
${{ github.event.workflow_run.event == 'pull_request' && ${{ github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success' }} github.event.workflow_run.conclusion == 'success' }}
@ -393,7 +393,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go: [1.24] go: ["1.25"]
if: > if: >
${{ github.event.workflow_run.event == 'pull_request' && ${{ github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success' }} github.event.workflow_run.conclusion == 'success' }}
@ -565,7 +565,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go: [1.24] go: ["1.25"]
db: [MySQL8.0, SQLite3] db: [MySQL8.0, SQLite3]
if: > if: >
${{ github.event.workflow_run.event == 'pull_request' && ${{ github.event.workflow_run.event == 'pull_request' &&
@ -733,7 +733,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go: [1.24] go: ["1.25"]
db: [MySQL8.0, SQLite3] db: [MySQL8.0, SQLite3]
redis: [4, 5, 6] redis: [4, 5, 6]
mongo: ["6.0"] mongo: ["6.0"]

View file

@ -208,7 +208,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go: [1.24] go: ["1.25"]
steps: steps:
- name: Checkout Kun - name: Checkout Kun
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -338,7 +338,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go: [1.24] go: ["1.25"]
steps: steps:
- name: Checkout Kun - name: Checkout Kun
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -448,7 +448,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go: [1.24] go: ["1.25"]
db: [MySQL8.0, SQLite3] db: [MySQL8.0, SQLite3]
steps: steps:
- name: Checkout Kun - name: Checkout Kun
@ -581,7 +581,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go: [1.24] go: ["1.25"]
db: [MySQL8.0, SQLite3] db: [MySQL8.0, SQLite3]
redis: [4, 5, 6] redis: [4, 5, 6]
mongo: ["6.0"] mongo: ["6.0"]