forked from eclipse-kanto/suite-connector
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try with local template without permissions
Signed-off-by: Ivan Marinov <ivan.marinov@bosch.io>
- Loading branch information
1 parent
f7e2dd7
commit 218130a
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
on: | ||
workflow_call: | ||
inputs: | ||
coverage-command: | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
coverage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.21.0' | ||
- name: Generate coverage profile | ||
run: ${{ inputs.coverage-command }} | ||
- name: Update coverage report | ||
uses: ncruces/go-coverage-report@v0 | ||
with: | ||
coverage-file: coverage.out | ||
report: false | ||
chart: false | ||
amend: true | ||
reuse-go: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters