File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -18,29 +18,31 @@ jobs:
18
18
steps :
19
19
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
20
20
- name : Checkout code
21
- uses : actions/checkout@v2
21
+ uses : actions/checkout@v4
22
22
23
23
- name : Setup Go environment
24
- uses : actions/setup-go@v2
24
+ uses : actions/setup-go@v5
25
+ with :
26
+ go-version : 1.22
25
27
26
28
- name : Checking compilation errors while generating image
27
29
run : env GOOS=linux go build -o "sumologic-extension" "lambda-extensions/sumologic-extension.go"
28
30
29
31
test :
30
32
strategy :
31
33
matrix :
32
- go-version : [1.21.x, 1.22.x ]
34
+ go : [' 1.21', ' 1.22' ]
33
35
os : [ubuntu-latest, macos-latest]
34
36
runs-on : ${{ matrix.os }}
35
37
36
38
steps :
39
+ - name : Checkout code
40
+ uses : actions/checkout@v4
41
+
37
42
- name : Setup Go (version - ${{ matrix.go }})
38
- uses : actions/setup-go@v2
43
+ uses : actions/setup-go@v5
39
44
with :
40
45
go-version : ${{ matrix.go }}
41
46
42
- - name : Checkout code
43
- uses : actions/checkout@v2
44
-
45
47
- name : Run Unit Tests
46
48
run : go test ./...
You can’t perform that action at this time.
0 commit comments