File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 18
18
# This workflow contains a single job called "build"
19
19
golangci-lint :
20
20
# The type of runner that the job will run on
21
- runs-on : macos-12
22
-
21
+ runs-on : ubuntu-latest
22
+
23
23
# Steps represent a sequence of tasks that will be executed as part of the job
24
24
steps :
25
25
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
32
32
with :
33
33
go-version-file : .go-version
34
34
# go-version: '1.21'
35
- cache : false
35
+ cache : false
36
36
37
37
# Runs a set of commands using the runners shell
38
38
- name : golangci-lint
41
41
version : v1.45.2
42
42
# version: v1.54
43
43
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
45
45
# args: --enable-all --max-same-issues=0 --max-issues-per-linter=0 --new-from-rev=origin/master -v
You can’t perform that action at this time.
0 commit comments