File tree Expand file tree Collapse file tree 2 files changed +12
-18
lines changed Expand file tree Collapse file tree 2 files changed +12
-18
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- main
7
7
8
- env :
9
- GO_VERSION : ' ^1.20.4'
10
-
11
8
jobs :
12
9
codecov :
13
10
name : ' Codecov'
14
11
runs-on : ubuntu-latest
15
12
steps :
16
13
- name : ' Checkout'
17
- uses : actions/checkout@v3
14
+ uses : actions/checkout@v4
18
15
- name : ' Setup go ${{ env.GO_VERSION }}'
19
- uses : actions/setup-go@v3
16
+ uses : actions/setup-go@v5
20
17
with :
21
- go-version : ${{ env.GO_VERSION }}
18
+ go-version-file : ' go.mod '
22
19
- name : ' Test'
23
20
run : ' go test -race -coverprofile=coverage.out -covermode=atomic ./...'
24
21
- name : ' Upload coverage reports to Codecov'
25
- uses : codecov/codecov-action@v3
22
+ uses : codecov/codecov-action@v4
26
23
env :
27
24
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 5
5
tags :
6
6
- ' v[0-9]+\.[0-9]+\.[0-9]+'
7
7
8
- env :
9
- GO_VERSION : ' ^1.20.4'
10
-
11
8
jobs :
12
9
test :
13
10
name : ' Test'
14
11
runs-on : ubuntu-latest
15
12
steps :
16
13
- name : ' Checkout'
17
- uses : actions/checkout@v3
18
- - name : ' Setup go ${{ env.GO_VERSION }} '
19
- uses : actions/setup-go@v3
14
+ uses : actions/checkout@v4
15
+ - name : ' Setup go'
16
+ uses : actions/setup-go@v5
20
17
with :
21
- go-version : ${{ env.GO_VERSION }}
18
+ go-version-file : ' go.mod '
22
19
- name : ' Test'
23
20
run : ' go test ./...'
24
21
@@ -29,10 +26,10 @@ jobs:
29
26
- test
30
27
steps :
31
28
- name : ' Checkout'
32
- uses : actions/checkout@v3
33
- - name : ' Setup go ${{ env.GO_VERSION }} '
34
- uses : actions/setup-go@v3
29
+ uses : actions/checkout@v4
30
+ - name : ' Setup go'
31
+ uses : actions/setup-go@v5
35
32
with :
36
- go-version : ${{ env.GO_VERSION }}
33
+ go-version-file : ' go.mod '
37
34
- name : ' Release'
38
35
run : ' GOPROXY=proxy.golang.org go list -m github.com/its-felix/aws-lambda-go-http-adapter@${{ github.ref_name }}'
You can’t perform that action at this time.
0 commit comments