File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 1+ name : ' Codecov'
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ env :
9+ GO_VERSION : ' ^1.20.4'
10+
11+ jobs :
12+ codecov :
13+ name : ' Codecov'
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 -race -coverprofile=coverage.out -covermode=atomic ./...'
24+ - name : ' Upload coverage reports to Codecov'
25+ uses : codecov/codecov-action@v3
26+ env :
27+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 3535 with :
3636 go-version : ${{ env.GO_VERSION }}
3737 - name : ' Release'
38- run : ' GOPROXY=proxy.golang.org go list -m github.com/its-felix/aws-lambda-go-http-adapter@${{ github.ref_name }}'
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