add build to action
This commit is contained in:
parent
ae8e129ce7
commit
a269cf0389
@ -30,6 +30,13 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
go test -coverprofile=artifacts/coverage.profile ./...
|
go test -coverprofile=artifacts/coverage.profile ./...
|
||||||
|
- name: Run build
|
||||||
|
run: |
|
||||||
|
make build
|
||||||
|
- name: cli tests
|
||||||
|
run: |
|
||||||
|
go test
|
||||||
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
- run: echo "This job's status is ${{ job.status }}."
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
- name: coverage report
|
- name: coverage report
|
||||||
run: |
|
run: |
|
||||||
@ -39,4 +46,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: code-coverage-report
|
name: code-coverage-report
|
||||||
path: artifacts/code-coverage.html
|
path: artifacts/code-coverage.html
|
||||||
|
- name: Archive binary
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: decl
|
||||||
|
path: decl
|
||||||
- run: echo "This job's status is ${{ job.status }}."
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
|
Loading…
Reference in New Issue
Block a user