Skip to content

Commit b1d1e1e

Browse files
committed
✏️ 修正lint
1 parent fe00ef8 commit b1d1e1e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/pull.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ jobs:
1010
with:
1111
go-version: 1.17
1212

13-
- name: Check out code into the Go module directory
14-
uses: actions/checkout@v2
15-
1613
- name: Cache Go
1714
id: cache
1815
uses: actions/cache@v2
1916
with:
2017
# A list of files, directories, and wildcard patterns to cache and restore
2118
path: ~/go/pkg/mod
2219
key: ${{ runner.os }}-build-${{ hashFiles('**/go.sum') }}
20+
21+
- name: Check out code into the Go module directory
22+
uses: actions/checkout@v2
2323

2424
- name: golangci-lint
2525
uses: golangci/golangci-lint-action@master

.github/workflows/push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ jobs:
1010
with:
1111
go-version: 1.17
1212

13-
- name: Check out code into the Go module directory
14-
uses: actions/checkout@v2
15-
1613
- name: Cache Go
1714
id: cache
1815
uses: actions/cache@v2
1916
with:
2017
# A list of files, directories, and wildcard patterns to cache and restore
2118
path: ~/go/pkg/mod
2219
key: ${{ runner.os }}-build-${{ hashFiles('**/go.sum') }}
20+
21+
- name: Check out code into the Go module directory
22+
uses: actions/checkout@v2
2323

2424
- name: golangci-lint
2525
uses: golangci/golangci-lint-action@master

0 commit comments

Comments
 (0)