File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Test and Release'
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' v[0-9]+\.[0-9]+\.[0-9]+'
7
+
8
+ env :
9
+ GO_VERSION : ' ^1.20.4'
10
+
11
+ jobs :
12
+ test :
13
+ name : ' Test'
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : ' Checkout'
17
+ uses : actions/checkout@v3
18
+ - name : ' Setup go ${{ env.GO_VERSION }}'
19
+ uses : actions/setup-go@v3
20
+ with :
21
+ go-version : ${{ env.GO_VERSION }}
22
+ - name : ' Test'
23
+ run : ' go test ./...'
24
+
25
+ release :
26
+ name : ' Release'
27
+ runs-on : ubuntu-latest
28
+ needs :
29
+ - test
30
+ steps :
31
+ - name : ' Checkout'
32
+ uses : actions/checkout@v3
33
+ - name : ' Setup go ${{ env.GO_VERSION }}'
34
+ uses : actions/setup-go@v3
35
+ with :
36
+ go-version : ${{ env.GO_VERSION }}
37
+ - name : ' Release'
38
+ 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