Skip to content

Commit 07b6f06

Browse files
committed
recovery golangci
1 parent 5c39960 commit 07b6f06

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
# This workflow contains a single job called "build"
1919
golangci-lint:
2020
# The type of runner that the job will run on
21-
runs-on: macos-12
22-
21+
runs-on: ubuntu-latest
22+
2323
# Steps represent a sequence of tasks that will be executed as part of the job
2424
steps:
2525
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
go-version-file: .go-version
3434
#go-version: '1.21'
35-
cache: false
35+
cache: false
3636

3737
# Runs a set of commands using the runners shell
3838
- name: golangci-lint
@@ -41,5 +41,5 @@ jobs:
4141
version: v1.45.2
4242
#version: v1.54
4343
working-directory: ./tencentcloud
44-
args: --new-from-rev=origin/master -v
44+
args: --new-from-rev=origin/master --config=.golangci.yml --issues-exit-code=0 -v
4545
#args: --enable-all --max-same-issues=0 --max-issues-per-linter=0 --new-from-rev=origin/master -v

0 commit comments

Comments
 (0)