Skip to content

Commit e2a44ef

Browse files
committed
deps: 更新依赖项
1 parent 77f5154 commit e2a44ef

6 files changed

Lines changed: 14 additions & 13 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@v4
3939

4040
# Initializes the CodeQL tools for scanning.
4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v2
42+
uses: github/codeql-action/init@v3
4343
with:
4444
languages: ${{ matrix.language }}
4545
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +50,7 @@ jobs:
5050
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5151
# If this step fails, then you should remove it and run the build manually (see below)
5252
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v2
53+
uses: github/codeql-action/autobuild@v3
5454

5555
# ℹ️ Command-line programs to run using the OS shell.
5656
# 📚 https://git.io/JvXDl
@@ -64,4 +64,4 @@ jobs:
6464
# make release
6565

6666
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@v2
67+
uses: github/codeql-action/analyze@v3

.github/workflows/go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ jobs:
66
test:
77
name: Test
88
runs-on: ${{ matrix.os }}
9-
9+
1010
strategy:
1111
matrix:
1212
os: [ubuntu-latest, macOS-latest, windows-latest]
13-
go: ['1.17.x', '1.22.x']
13+
go: ['1.17.x', '1.25.x']
1414

1515
steps:
1616

1717
- name: Check out code into the Go module directory
1818
uses: actions/checkout@v4
1919

2020
- name: Set up Go ${{ matrix.go }}
21-
uses: actions/setup-go@v4
21+
uses: actions/setup-go@v5
2222
with:
2323
go-version: ${{ matrix.go }}
2424
id: go
@@ -30,7 +30,7 @@ jobs:
3030
run: go test -race -v -coverprofile='coverage.txt' -covermode=atomic ./...
3131

3232
- name: Upload Coverage report
33-
uses: codecov/codecov-action@v3
33+
uses: codecov/codecov-action@v5
3434
with:
3535
token: ${{secrets.CODECOV_TOKEN}}
3636
file: ./coverage.txt

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ _testmain.go
3232
.idea/
3333
.vscode/
3434
.vs/
35+
.zed/

autoinc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: 2015-2024 caixw
1+
// SPDX-FileCopyrightText: 2015-2025 caixw
22
//
33
// SPDX-License-Identifier: MIT
44

@@ -30,7 +30,7 @@ type AutoInc struct {
3030
channel chan int64
3131
}
3232

33-
// New 声明一个新的 AutoInc 实例
33+
// New 声明 [AutoInc] 实例
3434
//
3535
// start:起始数值;
3636
// step:步长,可以为负数,但不能为 0;

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/issue9/autoinc/v2
22

3-
require github.com/issue9/assert/v4 v4.1.1
3+
require github.com/issue9/assert/v4 v4.3.1
44

55
go 1.17

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github.com/issue9/assert/v4 v4.1.1 h1:OhPE8SB8n/qZCNGLQa+6MQtr/B3oON0JAVj68k8jJlc=
2-
github.com/issue9/assert/v4 v4.1.1/go.mod h1:v7qDRXi7AsaZZNh8eAK2rkLJg5/clztqQGA1DRv9Lv4=
1+
github.com/issue9/assert/v4 v4.3.1 h1:dHYODk1yV7j/1baIB6K6UggI4r1Hfuljqic7PaDbwLg=
2+
github.com/issue9/assert/v4 v4.3.1/go.mod h1:v7qDRXi7AsaZZNh8eAK2rkLJg5/clztqQGA1DRv9Lv4=

0 commit comments

Comments
 (0)