✏️ 修正lint

This commit is contained in:
fumiama 2021-08-27 17:02:25 +08:00
parent fe00ef8cfa
commit b1d1e1e7b9
2 changed files with 6 additions and 6 deletions

View File

@ -10,9 +10,6 @@ jobs:
with:
go-version: 1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Cache Go
id: cache
uses: actions/cache@v2
@ -20,6 +17,9 @@ jobs:
# A list of files, directories, and wildcard patterns to cache and restore
path: ~/go/pkg/mod
key: ${{ runner.os }}-build-${{ hashFiles('**/go.sum') }}
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@master

View File

@ -10,9 +10,6 @@ jobs:
with:
go-version: 1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Cache Go
id: cache
uses: actions/cache@v2
@ -20,6 +17,9 @@ jobs:
# A list of files, directories, and wildcard patterns to cache and restore
path: ~/go/pkg/mod
key: ${{ runner.os }}-build-${{ hashFiles('**/go.sum') }}
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@master