File tree Expand file tree Collapse file tree 3 files changed +19
-30
lines changed
Expand file tree Collapse file tree 3 files changed +19
-30
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " gomod"
4+ directory : " /"
5+ schedule :
6+ interval : " daily"
Original file line number Diff line number Diff line change 88 - v*
99 branches :
1010 - master
11- - v2
1211 pull_request :
1312 branches :
1413 - master
1514permissions :
1615 contents : read
1716jobs :
18- golangci-lint :
17+ staticcheck :
1918 permissions :
2019 contents : read
2120 pull-requests : read
@@ -28,25 +27,27 @@ jobs:
2827 - name : Set up Golang
2928 uses : actions/setup-go@v3
3029 with :
31- go-version : ' 1.20.x '
30+ go-version : " 1.22.x "
3231 check-latest : true
3332 cache : true
3433
35- - name : Run golangci-lint
36- 34+ - run : " go test ./..."
35+ - run : " go vet ./..."
36+ -
uses :
dominikh/[email protected] 3737 with :
38- version : latest
39- args : --verbose
38+ version : " 2023.1.7"
39+ install-go : false
40+
4041 test :
4142 strategy :
4243 fail-fast : false
4344 matrix :
4445 platform :
4546 - ubuntu
4647 go :
47- - 20
48- name : ' tests on ${{ matrix.platform }} | 1.${{ matrix.go }}.x'
49- runs-on : ${{ matrix.platform }}-latest
48+ - 22
49+ name : " tests on ${{ matrix.platform }} | 1.${{ matrix.go }}.x"
50+ runs-on : " ${{ matrix.platform }}-latest"
5051 steps :
5152 # Get the repositery's code
5253 - name : Checkout
5556 - name : Set up Golang
5657 uses : actions/setup-go@v3
5758 with :
58- go-version : ' 1.${{ matrix.go }}.x'
59+ go-version : " 1.${{ matrix.go }}.x"
5960 cache : true
6061
6162 - name : Run tests
62- run : go clean -testcache && go test -race -cover -covermode=atomic ./...
63+ run : go clean -testcache && go test -race -cover -covermode=atomic ./...
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments