File tree 3 files changed +74
-1
lines changed
3 files changed +74
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : CI Pipeline
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v4
15
+ - name : Setup go
16
+ uses : actions/setup-go@v5
17
+ with :
18
+ go-version-file : go.mod
19
+ - name : Setup Mage
20
+ uses : magefile/mage-action@v3
21
+ with :
22
+ install-only : true
23
+
24
+ - name : Build
25
+ run : |
26
+ mage -v build
27
+
28
+ test :
29
+ runs-on : ubuntu-latest
30
+ needs : build
31
+ steps :
32
+ - name : Checkout
33
+ uses : actions/checkout@v4
34
+ - name : Setup go
35
+ uses : actions/setup-go@v5
36
+ with :
37
+ go-version-file : go.mod
38
+ - name : Install dependencies
39
+ run : |
40
+ sudo apt update
41
+ sudo apt install -y gcc
42
+
43
+ - name : Setup Mage
44
+ uses : magefile/mage-action@v3
45
+ with :
46
+ install-only : true
47
+
48
+ - name : Test
49
+ run : |
50
+ CGO_ENABLED=1 mage -v testRace
Original file line number Diff line number Diff line change
1
+ name : golangci-lint
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ pull_request :
7
+
8
+ permissions :
9
+ contents : read
10
+
11
+ jobs :
12
+ golangci :
13
+ name : lint
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - uses : actions/setup-go@v5
18
+ with :
19
+ go-version : stable
20
+ - name : golangci-lint
21
+ uses : golangci/golangci-lint-action@v6
22
+ with :
23
+ version : v1.54.2
Original file line number Diff line number Diff line change 1
1
module github.com/grafana/grafana-plugin-sdk-go
2
2
3
- go 1.22.0
3
+ go 1.22
4
4
5
5
require (
6
6
github.com/apache/arrow/go/v15 v15.0.2
You can’t perform that action at this time.
0 commit comments