File tree Expand file tree Collapse file tree 3 files changed +28
-12
lines changed
Expand file tree Collapse file tree 3 files changed +28
-12
lines changed Original file line number Diff line number Diff line change 1- name : golangci- lint
1+ name : lint
22on :
33 push :
44 branches :
@@ -11,14 +11,15 @@ permissions:
1111 # pull-requests: read
1212
1313jobs :
14- golangci :
15- name : lint
14+ lint :
1615 runs-on : ubuntu-latest
16+ container : ghcr.io/hybridgroup/opencv:4.12.0
1717 steps :
1818 - uses : actions/checkout@v5
1919 - uses : actions/setup-go@v6
2020 with :
2121 go-version : stable
22+
2223 - name : golangci-lint
2324 uses : golangci/golangci-lint-action@v8
2425 with :
Original file line number Diff line number Diff line change 99jobs :
1010 test :
1111 runs-on : ubuntu-latest
12+ container : ghcr.io/hybridgroup/opencv:4.12.0
1213 strategy :
1314 matrix :
14- go-version : ['1.23.x', '1. 24.x']
15+ go-version : ['1.24.x']
1516
1617 steps :
1718 - uses : actions/checkout@v5
2021 go-version : ${{ matrix.go-version }}
2122 cache : true
2223
23- # - name: Install OpenCV
24- # run: |
25- # sudo apt-get update
26- # sudo apt-get install -y \
27- # libopencv-dev \
28- # libopencv-contrib-dev \
29- # pkg-config
30-
3124 - name : go mod download
3225 run : go mod download
3326
Original file line number Diff line number Diff line change 1+ version : " 2"
2+
3+ run :
4+ timeout : 5m
5+
6+ linters :
7+ enable :
8+ - errcheck
9+ - gosimple
10+ - govet
11+ - ineffassign
12+ - staticcheck
13+ - unused
14+
15+ exclusions :
16+ rules :
17+ - path : _test\.go
18+ linters : [errcheck]
19+
20+ issues :
21+ max-issues-per-linter : 0
22+ max-same-issues : 0
You can’t perform that action at this time.
0 commit comments