Compare commits

..

2 Commits

Author SHA1 Message Date
f2cc89736b add build to action
Some checks failed
Declarative Tests / test (push) Waiting to run
Lint / golangci-lint (push) Has been cancelled
2024-04-03 15:53:33 -07:00
a269cf0389 add build to action 2024-04-03 15:53:10 -07:00
2 changed files with 12 additions and 2 deletions

View File

@ -13,8 +13,6 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v3
- run:
make build
- uses: ncipollo/release-action@v1
with:
artifacts: "decl"

View File

@ -30,6 +30,13 @@ jobs:
- name: Run tests
run: |
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 }}."
- name: coverage report
run: |
@ -39,4 +46,9 @@ jobs:
with:
name: code-coverage-report
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 }}."