File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a golang project
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3
+
4
+ name : Go
5
+
6
+ on :
7
+ push :
8
+ branches : [ "main" ]
9
+ pull_request :
10
+ branches : [ "main" ]
11
+
12
+ jobs :
13
+
14
+ build :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v3
18
+
19
+ - name : Set up Go
20
+ uses : actions/setup-go@v3
21
+ with :
22
+ go-version : 1.19
23
+
24
+ - name : Go Lint
25
+
26
+ with :
27
+ args : --timeout=5m --enable exportloopref
28
+ skip-pkg-cache : true
29
+ skip-build-cache : true
30
+ skip-go-installation : true
31
+
32
+ - name : Build
33
+ run : go build -o k8s-parallel-exec
34
+
35
+ - name : Publish redis plugin to assets
36
+
37
+ env :
38
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
+ with :
40
+ args : ' k8s-parallel-exec'
You can’t perform that action at this time.
0 commit comments