File tree 3 files changed +28
-38
lines changed
3 files changed +28
-38
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
branches : [main]
8
8
9
9
jobs :
10
- build :
10
+ test :
11
11
strategy :
12
12
matrix :
13
- go-version : [1.18 .x, 1.19 .x]
13
+ go-version : [1.19 .x, 1.20 .x]
14
14
os : [ubuntu-latest]
15
15
runs-on : ${{ matrix.os }}
16
16
steps :
30
30
run : |
31
31
cd github.com/vanadium/go.lib
32
32
go test --race --covermode=atomic ./...
33
+
34
+ linting :
35
+ runs-on : ubuntu-latest
36
+ steps :
37
+ - name : Checkout code
38
+ uses : actions/checkout@v3
39
+ with :
40
+ path : github.com/vanadium/go.lib
41
+
42
+ - name : Set up Go
43
+ uses : actions/setup-go@v3
44
+ with :
45
+ go-version : 1.20.x
46
+ cache : true
47
+ cache-dependency-path : github.com/vanadium/go.lib/go.sum
48
+
49
+ - name : Lint
50
+ uses : golangci/golangci-lint-action@v3
51
+ with :
52
+ version : latest
53
+ working-directory : github.com/vanadium/go.lib
54
+
55
+ - name : Vulnerabilities
56
+ run : |
57
+ go install golang.org/x/vuln/cmd/govulncheck@latest
58
+ cd github.com/vanadium/go.lib && govulncheck ./...
Original file line number Diff line number Diff line change 1
1
![ linux] ( https://github.com/vanadium/go.lib/actions/workflows/linux.yml/badge.svg )
2
2
![ macos] ( https://github.com/vanadium/go.lib/actions/workflows/macos.yml/badge.svg )
3
3
![ windows] ( https://github.com/vanadium/go.lib/actions/workflows/windows.yml/badge.svg )
4
- ![ lint-govuln] ( https://github.com/vanadium/go.lib/actions/workflows/lint-govuln.yml/badge.svg )
5
4
![ CodeQL] ( https://github.com/vanadium/go.lib/actions/workflows/codeql.yml/badge.svg )
6
5
7
6
This repository contains general purpose libraries created by and used by the
You can’t perform that action at this time.
0 commit comments